HTML and CSS Reference
In-Depth Information
Figure 11-3. Mock-up of the UI for the test application
Figure 11-4. Class diagram containing the CDI Bean and Facelets page used for the test application
Based on the mock-up and class diagram we can write a couple of pseudo-tests using the Gherkin format that we
will later implement using Drone.
Scenario: Entering my name
Given that I enter my name 'Clutch Powers' on the page
When I press the Submit Button
Then I will be greeted 'Hello Clutch Powers' by the application
Scenario: I enter the page
Given that I enter page
When I do nothing
Then there will be no greeting displayed
Search WWH ::

Custom Search