This repository has been archived by the owner on Jul 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Update tests to Intern 4 #356
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f9b29ad
Initial work to convert tests to Intern 4
bryanforbes c5d4a1c
Fixed load unit tests and text plugin functional tests
bryanforbes 3d4d785
Update intern.json, remove intern 3 files, clean up packages
bryanforbes dd9bd75
Update to latest grunt-dojo2
bryanforbes d38c8d7
Updates based on feedback
bryanforbes 0fa1569
Change intern.json to only output failed tests and tweak some tests
bryanforbes 79847de
Tweaks to build system for latest grunt-dojo2
bryanforbes c23be6d
Move file back
bryanforbes 3aae825
Updates based on feedback
bryanforbes 27deb23
Update to Intern 4.0.2
bryanforbes 28ac081
Remove grunt-dojo2 from loader config
bryanforbes 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
{ | ||
"environments": [ | ||
{ "browserName": "node" } | ||
], | ||
|
||
"suites": [ | ||
"./_build/tests/unit/all.js" | ||
], | ||
|
||
"functionalSuites": [ | ||
"./_build/tests/functional/all.js" | ||
], | ||
|
||
"plugins": [ | ||
"./_build/tests/plugins/echo-service.js" | ||
], | ||
|
||
"browser": { | ||
"loader": { | ||
"script": "dojo2", | ||
"options": { | ||
"packages": [ | ||
{ "name": "src", "location": "_build/src" }, | ||
{ "name": "tests", "location": "_build/tests" }, | ||
{ "name": "@dojo", "location": "node_modules/@dojo" }, | ||
{ "name": "sinon", "location": "node_modules/sinon/pkg", "main": "sinon" } | ||
] | ||
} | ||
}, | ||
|
||
"suites+": [ | ||
"./_build/tests/unit/all-browser.js" | ||
] | ||
}, | ||
|
||
"node": { | ||
"suites+": [ | ||
"./_build/tests/unit/all-node.js" | ||
] | ||
}, | ||
|
||
"configs": { | ||
"coverage": { | ||
"coverage": [ | ||
"./_build/src/**/*.js" | ||
] | ||
}, | ||
|
||
"remoteCapabilities": { | ||
"capabilities": { | ||
"project": "Dojo 2", | ||
"name": "@dojo/core", | ||
"fixSessionCapabilities": false | ||
} | ||
}, | ||
|
||
"browserstack": { | ||
"extends": [ "coverage", "remoteCapabilities" ], | ||
|
||
"tunnel": "browserstack", | ||
"capabilities+": { | ||
"browserstack.debug": false | ||
}, | ||
|
||
"environments+": [ | ||
{ "browserName": "internet explorer", "version": "11" }, | ||
{ "browserName": "edge" }, | ||
{ "browserName": "firefox", "platform": "WINDOWS" }, | ||
{ "browserName": "chrome", "platform": "WINDOWS" } | ||
], | ||
|
||
"maxConcurrency": 5 | ||
}, | ||
|
||
"node-loader": { | ||
"extends": [ "coverage" ], | ||
|
||
"node": { | ||
"loader": { | ||
"script": "dojo2", | ||
"options": { | ||
"packages": [ | ||
{ "name": "src", "location": "_build/src" }, | ||
{ "name": "tests", "location": "_build/tests" }, | ||
{ "name": "@dojo", "location": "node_modules/@dojo" }, | ||
{ "name": "sinon", "location": "node_modules/sinon/pkg", "main": "sinon" } | ||
] | ||
} | ||
}, | ||
"suites+": [ | ||
"./_build/tests/unit/all-node-loader.js" | ||
] | ||
} | ||
}, | ||
|
||
"local": { | ||
"extends": [ "coverage", "remoteCapabilities" ], | ||
|
||
"tunnel": "selenium", | ||
"tunnelOptions": { | ||
"hostname": "localhost", | ||
"port": 4444 | ||
}, | ||
|
||
"environments+": [ | ||
{ "browserName": "chrome" } | ||
] | ||
}, | ||
|
||
"saucelabs": { | ||
"extends": [ "coverage", "remoteCapabilities" ], | ||
|
||
"tunnel": "saucelabs", | ||
"tunnelOptions": {}, | ||
|
||
"defaultTimeout": 10000, | ||
"environments+": [ | ||
{ "browserName": "internet explorer", "version": [ "11.0" ], "platform": "Windows 7" }, | ||
{ "browserName": "firefox", "version": "43", "platform": "Windows 10" }, | ||
{ "browserName": "chrome", "platform": "Windows 10" } | ||
], | ||
"maxConcurrency": 4 | ||
} | ||
} | ||
} |
Oops, something went wrong.
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 don't need this anymore with your new grunt-dojo2 changes, right?
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.
grunt-dojo2
still defaults to Intern 3 for backwards compatibility, so we need this