- run pod install before open the project
In this part, the sample is to test a game:
The feature file for testing is example.feature:
@run
Feature: A game for guessing 2 numbers
Scenario: Test Input
Given It's a game init with 2 and 3
#case1
When Input 8
Then I should see Number1
#case2
When Input "9"
Then I should see "Number2"
#case3
When Input "6"
Then I should see "Both"
This part is a simple APP for increasing the counter:
The feature file for testing is ui_example.feature:
@run
Feature: Counter
Scenario: Counter increase
Given A clean demo app
Then I should see value of label "lb_info" is "0"
When Tap button "btn_action"
Then I should see value of label "lb_info" is "1"

