Turn specs intohigh quality appsMarco KuiperWilfred Wattel
#TechDaysNL
Marco KuiperDeveloper
Wilfred WattelTestmanager
Railpocket
OpvolgerRailpocket
ThreeAmigos
PO
Dev
QA
Features*.feature
Scenario
Scenario
Scenario
Scenario
Gherkin
Gherkinscenarios
GivenSetup
WhenTrigger
ThenVerify
// Arrange
// Act
// Assert
Gherkinscenarios
Givena great session is presented
Whenthe presentation is over
Thenthe audience will clap
“Acceptance Driven Presentation”
Gherkinexamples
Givena <level> session is presented
Whenthe presentation is over
Thenthe audience will <reaction>
Examples: | level | reaction | | great | clap | | horrible | cry |
Quality?
UI
Service
UnitMIKE COHN
} Focus
Implementation
Service
Unit
UI
Unit test
Integration test
System test
Acceptance Test
Ambassador Test
Live
Test Levels
3
COI
O
TAP
IngredientsVisual Studio or Xamarin StudioSpecflowNUnitXamarin.UITestSource code or APK
Step definitionsscenarios
[Given(@"a great session is presented")]public void AGreatSessionIsPresented() { // Setup}
[When(@"the presentation is over")]public void ThePresentationIsOver() { // Trigger}
[Then(@"the audience will clap")]public void TheAudienceWillClap() { // Verify}
Step definitionsexamples
[Given(@"a ""(.*)"" session is presented")]public void ASessionIsPresented( string level) { // Setup}
[When(@"the presentation is over")]public void ThePresentationIsOver() { // Trigger}
[Then(@"the audience will ""(.*)""")]public void TheAudienceWill ( string reaction) { // Verify}
Xamarin.UITest
Show us
Awesome!
Benefits
Specs + Testcases + Scripts coupled
Scalable regression framework Testcases to run Testexecution runs Devices Operating systems
Xammy Award
Future
Service
Unit
UI
Unit test
Integration test
System test
Acceptance Test
Ambassador Test
Live
Test Levels
COI
O
TAP
3
XAMARIN
BuzzwordsTDD, ATDD, BDD, SBE, DevOps, CD etc.
More?Sourcehttps://github.com/marcofolio/TechDays2016
Articleshttp://marcofolio.net/
More?@geertvdc
Xamarin test cloud: from zero to hero in automated UI testing
@jfversluisThe circle of life: ALM for your Xamarin
app with VSTS and HockeyApp
@nzthiagoEnabling DevOps Practices for Mobile
Apps with Visual Studio Team Services, Xamarin and HockeyApp
Turn specs intohigh quality appsThank you!
#TechDaysNL
#hashtag hereSession code here
Turn specs intohigh quality appsThank you!
Givena <level> session is presented
Whenthe presentation is over
Thenthe audience will <reaction>
Examples: | level | reaction | | great | clap | | horrible | cry | | great | clap | | horrible | cry |