-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: new ./bin/testplane * ci: add rebranding branch
- Loading branch information
1 parent
4523c88
commit e6c9490
Showing
8 changed files
with
46 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env node | ||
'use strict'; | ||
|
||
var cli = require('../build/src/cli').run(); | ||
var cli = require('../build/src/cli').run({ cliName: 'hermione' }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env node | ||
'use strict'; | ||
|
||
var cli = require('../build/src/cli').run(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
"use strict"; | ||
|
||
exports.configOverriding = ` Overriding config | ||
exports.configOverriding = (opts = {}) => { | ||
const cliName = opts.cliName || "testplane"; | ||
|
||
return ` Overriding config | ||
To override any config option use full option path converted to --kebab-case | ||
Examples: | ||
hermione --system-debug true | ||
hermione --base-url http://example.com | ||
hermione --browsers-firefox-sessions-per-browser 10 | ||
${cliName} --system-debug true | ||
${cliName} --base-url http://example.com | ||
${cliName} --browsers-firefox-sessions-per-browser 10 | ||
You can also use environment variables converted to snake_case with | ||
hermione_ prefix | ||
${cliName}_ prefix | ||
Examples: | ||
hermione_system_debug=true hermione | ||
hermione_base_url=http://example.com hermione | ||
hermione_browsers_firefox_sessions_per_browser=10 hermione | ||
${cliName}_system_debug=true ${cliName} | ||
${cliName}_base_url=http://example.com ${cliName} | ||
${cliName}_browsers_firefox_sessions_per_browser=10 ${cliName} | ||
If both cli option and environment variable are used, cli option takes precedence | ||
`; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters