kopia lustrzana https://github.com/c9/core
Merge remote-tracking branch 'origin/master' into fix/test-ui-improvements
Conflicts: plugins/c9.vfs.standalone/www/test.htmlpull/51/merge
rodzic
e0087f236e
commit
c89d8246fd
12
README.md
12
README.md
|
@ -66,6 +66,18 @@ The following options can be used:
|
|||
|
||||
Now visit [http://localhost:8181/ide.html](http://localhost:8181/ide.html) to load Cloud9.
|
||||
|
||||
#### Running Tests ####
|
||||
|
||||
Run server side tests with:
|
||||
|
||||
npm run test
|
||||
|
||||
Run client side tests with:
|
||||
|
||||
npm run ctest
|
||||
|
||||
Then visit [http://localhost:8181/static/test](http://localhost:8181/static/test) in your browser.
|
||||
|
||||
#### Contributing ####
|
||||
|
||||
We actively encourage and support contributions. We accept pull requests to the core as well as to any of the open source plugins and libraries that we maintain under the c9 organization on GitHub.
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
if (!files.length && (location.search === "?" || location.search === "")) {
|
||||
var disabled = tests.blacklist.slice().sort();
|
||||
var enabled = tests.list.slice().sort();
|
||||
var all = "<span style='font-size: 14px;'><a href='/static/test.html''>run all</a></span>";
|
||||
var all = "<span style='font-size: 14px;'><a href='?runAllTests&remain=1'>run all</a></span>";
|
||||
var initErr = document.getElementById('jserror').innerHTML;
|
||||
setupDom(""
|
||||
+ "<h1>Enabled tests" + all + "</h1>"
|
||||
|
@ -376,8 +376,11 @@
|
|||
c9Test.run = run;
|
||||
c9Test.runAll = runAll;
|
||||
c9Test.allFiles = allFiles;
|
||||
if (location.href.match(/\?runAllTests/)) {
|
||||
files = allFiles;
|
||||
}
|
||||
c9Test.find = function(r) {
|
||||
return c9Test.allFiles.filter(function(x) { return x.match(r) });
|
||||
return c9Test.allFiles.filter(function(x) { return x.match(r); });
|
||||
};
|
||||
c9Test.reRun = c9Test.run;
|
||||
// wait for test.js to initialise chai
|
||||
|
|
Ładowanie…
Reference in New Issue