Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Automated testing with MonoTouch.FrankAutomation binding

$
0
0

For anyone who's interested in automating the testing of their iOS application. I made a step by step guide on how to set it up with frank-cucumber and Xamarin Studio. The MonoTouch binding is also available for download. So give the sample a try.

https://github.com/drunkirishcoder/monotouch-frank

Symbiote

Feature: Navigation
  As a MonoTouch developer
  I want to have a sample feature file
  So I can see how acceptance testing works with Frank/Cucumber

  Scenario: Simple drill down                           # features/navigation.feature:6

    Given I launch the app                              # features/step_definitions/launch_steps.rb:5
    And I wait to see a navigation bar titled "Plays"   # frank-cucumber-1.1.12/lib/frank-cucumber/core_frank_steps.rb:26
    When I touch the 3rd table cell                     # frank-cucumber-1.1.12/lib/frank-cucumber/core_frank_steps.rb:168
    Then I should see a navigation bar titled "Othello" # frank-cucumber-1.1.12/lib/frank-cucumber/core_frank_steps.rb:21
    When I wait for 1 second                            # frank-cucumber-1.1.12/lib/frank-cucumber/core_frank_steps.rb:232
    And I navigate back                                 # frank-cucumber-1.1.12/lib/frank-cucumber/core_frank_steps.rb:245
    Then I should see a navigation bar titled "Plays"   # frank-cucumber-1.1.12/lib/frank-cucumber/core_frank_steps.rb:21

1 scenario (1 passed)
7 steps (7 passed)
0m22.801s

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>