0.1.4 • Published 8 years ago
nativescript-dev-cucumber v0.1.4
nativescript-dev-cucumber
A helper package to make running E2E Appium tests in NativeScript apps easier.
Usage
Install it with:
$ tns install cumcumber
It will produce a sample test below the features
dir. Now, run it with:
$ npm run cucumber-android
or
$ npm run cucumber-ios-simulator
The tests are standard Cumcumber.js tests.
Getting started
Create a new NativeScript Application (if necessary):
$ tns create cucumberSample --ng
Update the template to add "automationText" attributes (for Angular2 NS applications).
app.component.html:
<StackLayout>
<Label text="Tap the button" class="title"></Label>
<Button text="TAP" (tap)="onTap()" automationText="tapButton"></Button>
<Label [text]="message" class="message" textWrap="true" automationText="messageLabel"></Label>
</StackLayout>
Install cucumber:
$ tns install cucumber
Execute tests:
$ npm run cucumber-android
or
$ npm run cucumber-ios-simulator
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago
0.1.0-rc3
8 years ago
0.1.0-rc2
8 years ago
0.1.0-rc1
8 years ago
0.1.0-beta2
8 years ago
0.1.0-beta1
8 years ago
0.1.0-alpha5
8 years ago
0.1.0-alpha2
8 years ago
0.1.0-alpha1
8 years ago