-
Notifications
You must be signed in to change notification settings - Fork 3
/
step.yml
49 lines (42 loc) · 1.81 KB
/
step.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
title: Karma Jasmine Test Runner
summary: Run your Jasmine tests with the Karma tool on Bitrise.
description: |-
The Step allows you to run Jasmine tests using the Karma tool in your build. Karma lets you spawn different browsers and re-run the tests within each browser.
### Configuring the Step
The Step runs the `karma start` command to run your Jasmine tests. To set this up:
1. Choose the browsers in which you want to run tests. Separate each browser with a comma.
1. In the **Options to append to the karma start command**, add custom options to the `karma start` command. For the available options, run `karma start --help` in a command line.
### Useful links
[Testing on Bitrise](devcenter.bitrise.io/testing/)
### Related Steps
[Jasmine Test Runner](https://www.bitrise.io/integrations/steps/jasmine-runner)
website: https://github.com/bitrise-community/steps-karma-jasmine-runner
source_code_url: https://github.com/bitrise-community/steps-karma-jasmine-runner
support_url: https://github.com/bitrise-community/steps-karma-jasmine-runner/issues
project_type_tags:
- cordova
type_tags:
- build
deps:
brew:
- name: go
toolkit:
go:
package_name: github.com/bitrise-community/steps-karma-jasmine-runner
inputs:
- workdir: $BITRISE_SOURCE_DIR
opts:
title: "Working directory"
is_required: true
- browsers: Safari
opts:
title: "List of browsers to start"
description: |-
Use this input to specify which browser to use by karma start command.
Comma separated list of browsers (eg. `Safari,Chrome,Firefox`).
is_required: true
- options:
opts:
title: "Options to append to the karma start command"
description: |-
Use this input to specify custom options, to append to the end of the karma start command.