forked from codeceptjs/CodeceptJS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature. Add require param to config (codeceptjs#1294)
* add --require module param * add require module for run-multiple * add --require parameter tests * add short flag for --require, add doc * move require pararmeter to config * remove --require param and env variable * update documentation * lint test configs
- Loading branch information
Showing
14 changed files
with
227 additions
and
4 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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"tests": "./*_test.js", | ||
"timeout": 10000, | ||
"output": "./output", | ||
"helpers": { | ||
"FileSystem": {} | ||
}, | ||
"include": {}, | ||
"bootstrap": false, | ||
"mocha": {}, | ||
"name": "require test", | ||
"require": ["requiredModule", "requiredModule2"], | ||
"multiple": { | ||
"default": { | ||
"browsers": [ | ||
"chrome", | ||
{ "browser": "firefox"} | ||
] | ||
} | ||
} | ||
} |
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,21 @@ | ||
{ | ||
"tests": "./*_test.js", | ||
"timeout": 10000, | ||
"output": "./output", | ||
"helpers": { | ||
"FileSystem": {} | ||
}, | ||
"include": {}, | ||
"bootstrap": false, | ||
"mocha": {}, | ||
"name": "require test", | ||
"require": ["requiredModule"], | ||
"multiple": { | ||
"default": { | ||
"browsers": [ | ||
"chrome", | ||
{ "browser": "firefox"} | ||
] | ||
} | ||
} | ||
} |
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,21 @@ | ||
{ | ||
"tests": "./*_test.js", | ||
"timeout": 10000, | ||
"output": "./output", | ||
"helpers": { | ||
"FileSystem": {} | ||
}, | ||
"include": {}, | ||
"bootstrap": false, | ||
"mocha": {}, | ||
"name": "require test", | ||
"require": [], | ||
"multiple": { | ||
"default": { | ||
"browsers": [ | ||
"chrome", | ||
{ "browser": "firefox"} | ||
] | ||
} | ||
} | ||
} |
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,13 @@ | ||
{ | ||
"tests": "./*_test.js", | ||
"timeout": 10000, | ||
"output": "./output", | ||
"helpers": { | ||
"FileSystem": {} | ||
}, | ||
"include": {}, | ||
"bootstrap": false, | ||
"mocha": {}, | ||
"name": "require test", | ||
"require": ["requiredModule", "requiredModule2"] | ||
} |
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,13 @@ | ||
{ | ||
"tests": "./*_test.js", | ||
"timeout": 10000, | ||
"output": "./output", | ||
"helpers": { | ||
"FileSystem": {} | ||
}, | ||
"include": {}, | ||
"bootstrap": false, | ||
"mocha": {}, | ||
"name": "require test", | ||
"require": ["requiredModule"] | ||
} |
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,13 @@ | ||
{ | ||
"tests": "./*_test.js", | ||
"timeout": 10000, | ||
"output": "./output", | ||
"helpers": { | ||
"FileSystem": {} | ||
}, | ||
"include": {}, | ||
"bootstrap": false, | ||
"mocha": {}, | ||
"name": "require test", | ||
"require": [] | ||
} |
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 @@ | ||
console.log('Module was required 1.'); |
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 @@ | ||
console.log('Module was required 2.'); |
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