Execute only specific test file in NativeScript
up vote
0
down vote
favorite
Assuming I have a file called field-floater.spec.ts
, is it possible to do something like below to execute only these tests?
tns test ios --emulator 'field-floater.spec.ts'
typescript jasmine nativescript
add a comment |
up vote
0
down vote
favorite
Assuming I have a file called field-floater.spec.ts
, is it possible to do something like below to execute only these tests?
tns test ios --emulator 'field-floater.spec.ts'
typescript jasmine nativescript
You can use 'fdescribe' instead of 'describe', or 'fit' instead of 'it' to run one specific test(suite). AFAIK you can't control that from the command line.
– Eddy Verbruggen
14 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Assuming I have a file called field-floater.spec.ts
, is it possible to do something like below to execute only these tests?
tns test ios --emulator 'field-floater.spec.ts'
typescript jasmine nativescript
Assuming I have a file called field-floater.spec.ts
, is it possible to do something like below to execute only these tests?
tns test ios --emulator 'field-floater.spec.ts'
typescript jasmine nativescript
typescript jasmine nativescript
asked 15 hours ago
RJ7
14210
14210
You can use 'fdescribe' instead of 'describe', or 'fit' instead of 'it' to run one specific test(suite). AFAIK you can't control that from the command line.
– Eddy Verbruggen
14 hours ago
add a comment |
You can use 'fdescribe' instead of 'describe', or 'fit' instead of 'it' to run one specific test(suite). AFAIK you can't control that from the command line.
– Eddy Verbruggen
14 hours ago
You can use 'fdescribe' instead of 'describe', or 'fit' instead of 'it' to run one specific test(suite). AFAIK you can't control that from the command line.
– Eddy Verbruggen
14 hours ago
You can use 'fdescribe' instead of 'describe', or 'fit' instead of 'it' to run one specific test(suite). AFAIK you can't control that from the command line.
– Eddy Verbruggen
14 hours ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53343734%2fexecute-only-specific-test-file-in-nativescript%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You can use 'fdescribe' instead of 'describe', or 'fit' instead of 'it' to run one specific test(suite). AFAIK you can't control that from the command line.
– Eddy Verbruggen
14 hours ago