Glacio Documentation
This site hosts the technical documentation for Glacio.
Heavily inspired by Gherkin, Glacio is a language that aim to support specification-by-example in an Agile environment.
Key features:
-
nested steps
-
integrated with JUnit 5 and Spring
-
composable runner extensions
What you can do
Feature: User login
Scenario: Successful login
Given a user with valid credentials
Insert generated user with valid credentials in database
Generate variable 'username'
Generate variable 'password'
Execute SQL
"""
INSERT INTO USERS(USERNAME, PASSWORD, ENABLED)
VALUES('${username}', '${password}', 1)
"""
And the user in on the login page
Open a 'Chrome' browser
Navigate to 'https://www.yourapp.com'
Click on the 'Sign In' button
When the user signs in
Fill 'username' input with '${username}'
Fill 'password' input with '${password}'
Click on the 'Sign In' button
Then the user is logged in
Relative URL is '/home'