Logo: Relish

  1. Sign in

Project: Ygg

Ygg Domain Specific Language

In order to access ygg features easily
As a Ygg user
I want to have a nice DSL

Background All that from the other features
Given
the class User has the field :name
And
extends Record
And
the class Account has the field :amount
And
the class Account has the field :currency
And
extends Record
And
I have the file "emulations/samples/user.ygg"
Scenarios
Data on session closed
When
I load the file
And
I ask User for records
Then
I should get an user named "Xavier Via"
Giving path & identifier
Given
the path "emulations/samples"
And
the identifier :user
When
I call ygg with those arguments
And
I ask User for records
Then
I should get an user named "Xavier Via"

Last published over 5 years ago by xaviervia.