AppiumBooster
AppiumBooster helps you to write automation testcases in yaml format or csv tables, without writing a snippet of code.
write testcases in yaml (recommended)
Take DebugTalk+ Discover’s login and logout function as an example.
In order to test these functions above, you can write testcases in yaml format like this.
1 | # ios/testcases/Account.yml |
In the testcases, each step is combined with two parts, joined by a separator |
. The former part indicates step file located in ios/steps/
directory, and the latter part indicates testcase step name, which is defined in steps yaml files like below.
1 | # ios/steps/AccountSteps.yml |
write testcases in tables
You can also write testcases in any table tools, including MS Excel and iWork Numbers, and even in plain CSV format.
In order to test the same functions above, you can write testcases in tables like this.
After the testcases are finished, export to CSV format, and put the csv files under ios/testcases/
directory.
run
Once the testcases are done, you are ready to run automation test on your app.
Run the automation testcases is very easy. You can execute ruby run.rb -h
in the project root directory to see the usage.
1 | ➜ AppiumBooster git:(master) ✗ ruby run.rb -h |
AppiumBooster will load all the csv test suites and then excute each suite sequentially.
1 | ➜ AppiumBooster git:(master) ✗ ruby run.rb -p "ios/app/test.zip" -f "ios/testcases/Account.yml" |