Skip to content

Commit 661b298

Browse files
authored
Merge pull request #157 from jitto/master
Add proxy mapping - so proxy passed in runTest is used for fetching results
2 parents a8f52eb + f460eec commit 661b298

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

lib/mapping.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,10 @@ var options = {
665665
valid:
666666
/^(?:dot|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity)$/,
667667
},
668+
proxy: {
669+
name: "proxy",
670+
info: "set the proxy used to fetch results",
671+
},
668672
},
669673
waterfall: {
670674
type: {

test/fixtures/command-line/help-results.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Options:
1818
-S, --specs <json_or_file> set the specs for performance test suite
1919
-r, --reporter <name> set performance test suite reporter output:
2020
[dot]|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity
21+
--proxy set the proxy used to fetch results
2122
-e, --request <id> echo request ID, useful to track asynchronous
2223
requests
2324
-h, --help display help for command

test/fixtures/command-line/help-test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,5 @@ Options:
173173
--reporter <name> set performance test suite reporter
174174
output:
175175
[dot]|spec|tap|xunit|list|progress|min|nyan|landing|json|doc|markdown|teamcity
176+
--proxy set the proxy used to fetch results
176177
-h, --help display help for command

0 commit comments

Comments
 (0)