-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
feat(cli/js/testing): Add TestDefinition::skip #4351
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
aa5d925
feat(cli/js/testing): Add TestDefinition::skip
nayeemrmn 6516cd2
Remove TestOptions for Deno.test() shorthands
nayeemrmn b95c702
fixup! Remove TestOptions for Deno.test() shorthands
nayeemrmn e0f993a
Measure duration for failed tests
nayeemrmn 366a051
fixup! Measure duration for failed tests
nayeemrmn b5bfc84
Fix tests
nayeemrmn 92a3c09
fixup! Fix tests
nayeemrmn e5255ea
Reset CI
nayeemrmn 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
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
running 7 tests | ||
OK runGranted [WILDCARD] | ||
OK readGranted [WILDCARD] | ||
OK writeGranted [WILDCARD] | ||
OK netGranted [WILDCARD] | ||
OK envGranted [WILDCARD] | ||
OK pluginGranted [WILDCARD] | ||
OK hrtimeGranted [WILDCARD] | ||
OK runGranted [WILDCARD] | ||
OK readGranted [WILDCARD] | ||
OK writeGranted [WILDCARD] | ||
OK netGranted [WILDCARD] | ||
OK envGranted [WILDCARD] | ||
OK pluginGranted [WILDCARD] | ||
OK hrtimeGranted [WILDCARD] | ||
|
||
test result: OK 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD] | ||
test result: OK 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD] |
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,16 +1,15 @@ | ||
running 12 tests | ||
OK compilerApiCompileSources [WILDCARD] | ||
OK compilerApiCompileNoSources [WILDCARD] | ||
OK compilerApiCompileOptions [WILDCARD] | ||
OK compilerApiCompileLib [WILDCARD] | ||
OK compilerApiCompileTypes [WILDCARD] | ||
OK transpileOnlyApi [WILDCARD] | ||
OK transpileOnlyApiConfig [WILDCARD] | ||
OK bundleApiSources [WILDCARD] | ||
OK bundleApiNoSources [WILDCARD] | ||
OK bundleApiConfig [WILDCARD] | ||
OK bundleApiJsModules [WILDCARD] | ||
OK diagnosticsTest [WILDCARD] | ||
OK compilerApiCompileSources [WILDCARD] | ||
OK compilerApiCompileNoSources [WILDCARD] | ||
OK compilerApiCompileOptions [WILDCARD] | ||
OK compilerApiCompileLib [WILDCARD] | ||
OK compilerApiCompileTypes [WILDCARD] | ||
OK transpileOnlyApi [WILDCARD] | ||
OK transpileOnlyApiConfig [WILDCARD] | ||
OK bundleApiSources [WILDCARD] | ||
OK bundleApiNoSources [WILDCARD] | ||
OK bundleApiConfig [WILDCARD] | ||
OK bundleApiJsModules [WILDCARD] | ||
OK diagnosticsTest [WILDCARD] | ||
|
||
test result: OK 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD] | ||
|
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,7 +1,7 @@ | ||
running 4 tests | ||
OK workersBasic [WILDCARD] | ||
OK nestedWorker [WILDCARD] | ||
OK workerThrowsWhenExecuting [WILDCARD] | ||
OK workerCanUseFetch [WILDCARD] | ||
OK workersBasic [WILDCARD] | ||
OK nestedWorker [WILDCARD] | ||
OK workerThrowsWhenExecuting [WILDCARD] | ||
OK workerCanUseFetch [WILDCARD] | ||
|
||
test result: OK 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD] | ||
test result: OK 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD] |
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.
We should probably collapse all of little interfaces and enums for testing under a single namespace...
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.
Just realised these are all implicitly public via
TestReporter
inRunTestsOptions
so that would be necessary. TheTestEvent*
stuff can and should be hidden IMO with some restructuring. All that needs to be public isTestReporter
,TestResult
,TestStatus
andTestStats
each with no references to any other proprietary type.EDIT: Actually
TestEvent{Start,Result,End}
are necessary to keepTestReporter
simple and extensible, but notTestEvent
.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.
How is this?
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.
@nayeemrmn I already needed to split "result" into two separate messages for #4371
We should figure this out before 1.0, but it's not actionable for this PR