-
Notifications
You must be signed in to change notification settings - Fork 22
added env vars as arguments warning #513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DavertMik
wants to merge
21
commits into
2.x
Choose a base branch
from
feat/show-env-vars-warning
base: 2.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
209857f
added env vars as arguments warning
ecd5a48
added tests for c# tags
dc97260
Merge branch '2.x' of github.com:testomatio/reporter into 2.x
a384da5
Merge branch '2.x' into feat/show-env-vars-warning
DavertMik 59ef53c
Merge branch '2.x' of github.com:testomatio/reporter into 2.x
c1ed17e
Merge branch '2.x' of github.com:testomatio/reporter into 2.x
df1084a
Merge branch '2.x' of github.com:testomatio/reporter into 2.x
9844a76
Merge branch '2.x' of github.com:testomatio/reporter into 2.x
e35714d
Added reply by id
4a2f057
Merge branch '2.x' of github.com:testomatio/reporter into 2.x
4856558
Merge branch '2.x' of github.com:testomatio/reporter into 2.x
02f5961
Merge branch '2.x' of github.com:testomatio/reporter into 2.x
dab6fcf
Merge branch '2.x' of github.com:testomatio/reporter into 2.x
c1f6a71
2.1.0-beta.2-codeceptjs
8c9dfe4
2.1.0-beta.3-filter-plan
6c272a0
Merge branch '2.x' of github.com:testomatio/reporter into 2.x
537ac98
improved codecept adapter / test plan reporting
e6d41ce
2.1.0-beta.5-codeceptjs
600d29b
Merge branch '2.x' into feat/show-env-vars-warning
2c73e03
Resolve package.json and package-lock.json merge conflicts
f49a823
Resolve additional merge conflicts in CLI files
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 @@ | ||
import pc from 'picocolors'; | ||
import { APP_PREFIX } from '../constants.js'; | ||
|
||
export function checkForEnvPassedAsArguments() { | ||
const testomatioArgs = process.argv.filter(arg => arg.startsWith('TESTOMATIO')); | ||
if (testomatioArgs.length === 0) return; | ||
|
||
console.log(pc.yellow(`${APP_PREFIX} Found TESTOMATIO env passed as CLI arguments: ${testomatioArgs.join(', ')}`)); | ||
console.log(pc.yellow(`${APP_PREFIX} These variables can't be processed and will be ignored`)); | ||
console.log(pc.yellow(`${APP_PREFIX} Please use the following format instead:`)); | ||
console.log(pc.yellow(`${APP_PREFIX} ${testomatioArgs.join(' ')} ${process.argv[1].split('/').pop()}`)); | ||
console.log(); | ||
} | ||
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.