☕️ Classic, reliable, trusted test framework for Node.js and the browser
Renaming samples->acceptance, moving back browser under test
Attila Domokos989322445979
diff --git a/Makefile b/Makefileindex 21c2cc48..b6d9df3b 100644--- a/Makefile+++ b/Makefile@@ -7,7 +7,7 @@ SUPPORT = $(wildcard support/*.js)all: mocha.js mocha.css-mocha.css: test/samples/browser/style.css+mocha.css: test/browser/style.csscp -f $< $@mocha.js: $(SRC) $(SUPPORT)@@ -33,56 +33,56 @@ test-bdd:@./bin/mocha \--reporter $(REPORTER) \--ui bdd \- test/samples/interfaces/bdd+ test/acceptance/interfaces/bddtest-tdd:@./bin/mocha \--reporter $(REPORTER) \--ui tdd \- test/samples/interfaces/tdd+ test/acceptance/interfaces/tddtest-qunit:@./bin/mocha \--reporter $(REPORTER) \--ui qunit \- test/samples/interfaces/qunit+ test/acceptance/interfaces/qunittest-exports:@./bin/mocha \--reporter $(REPORTER) \--ui exports \- test/samples/interfaces/exports+ test/acceptance/interfaces/exportstest-grep:@./bin/mocha \--reporter $(REPORTER) \--grep fast \- test/samples/misc/grep+ test/acceptance/misc/greptest-bail:@./bin/mocha \--reporter $(REPORTER) \--bail \- test/samples/misc/bail+ test/acceptance/misc/bailnon-tty:@./bin/mocha \--reporter dot \- test/samples/interfaces/bdd 2>&1 > /tmp/dot.out+ test/acceptance/interfaces/bdd 2>&1 > /tmp/dot.out@echo dot:@cat /tmp/dot.out@./bin/mocha \--reporter list \- test/samples/interfaces/bdd 2>&1 > /tmp/list.out+ test/acceptance/interfaces/bdd 2>&1 > /tmp/list.out@echo list:@cat /tmp/list.out@./bin/mocha \--reporter spec \- test/samples/interfaces/bdd 2>&1 > /tmp/spec.out+ test/acceptance/interfaces/bdd 2>&1 > /tmp/spec.out@echo spec:@cat /tmp/spec.outdiff --git a/test/samples/context.js b/test/acceptance/context.jssimilarity index 100%rename from test/samples/context.jsrename to test/acceptance/context.jsdiff --git a/test/samples/duration.js b/test/acceptance/duration.jssimilarity index 100%rename from test/samples/duration.jsrename to test/acceptance/duration.jsdiff --git a/test/samples/fs.js b/test/acceptance/fs.jssimilarity index 100%rename from test/samples/fs.jsrename to test/acceptance/fs.jsdiff --git a/test/samples/globals.js b/test/acceptance/globals.jssimilarity index 100%rename from test/samples/globals.jsrename to test/acceptance/globals.jsdiff --git a/test/samples/http.js b/test/acceptance/http.jssimilarity index 100%rename from test/samples/http.jsrename to test/acceptance/http.jsdiff --git a/test/samples/interfaces/bdd.js b/test/acceptance/interfaces/bdd.jssimilarity index 100%rename from test/samples/interfaces/bdd.jsrename to test/acceptance/interfaces/bdd.jsdiff --git a/test/samples/interfaces/exports.js b/test/acceptance/interfaces/exports.jssimilarity index 100%rename from test/samples/interfaces/exports.jsrename to test/acceptance/interfaces/exports.jsdiff --git a/test/samples/interfaces/qunit.js b/test/acceptance/interfaces/qunit.jssimilarity index 100%rename from test/samples/interfaces/qunit.jsrename to test/acceptance/interfaces/qunit.jsdiff --git a/test/samples/interfaces/tdd.js b/test/acceptance/interfaces/tdd.jssimilarity index 100%rename from test/samples/interfaces/tdd.jsrename to test/acceptance/interfaces/tdd.jsdiff --git a/test/samples/merge.js b/test/acceptance/merge.jssimilarity index 100%rename from test/samples/merge.jsrename to test/acceptance/merge.jsdiff --git a/test/samples/misc/bail.js b/test/acceptance/misc/bail.jssimilarity index 100%rename from test/samples/misc/bail.jsrename to test/acceptance/misc/bail.jsdiff --git a/test/samples/misc/cascade.js b/test/acceptance/misc/cascade.jssimilarity index 100%rename from test/samples/misc/cascade.jsrename to test/acceptance/misc/cascade.jsdiff --git a/test/samples/misc/grep.js b/test/acceptance/misc/grep.jssimilarity index 100%rename from test/samples/misc/grep.jsrename to test/acceptance/misc/grep.jsdiff --git a/test/samples/misc/nontty.js b/test/acceptance/misc/nontty.jssimilarity index 100%rename from test/samples/misc/nontty.jsrename to test/acceptance/misc/nontty.jsdiff --git a/test/samples/multiple.done.js b/test/acceptance/multiple.done.jssimilarity index 100%rename from test/samples/multiple.done.jsrename to test/acceptance/multiple.done.jsdiff --git a/test/samples/pending.js b/test/acceptance/pending.jssimilarity index 100%rename from test/samples/pending.jsrename to test/acceptance/pending.jsdiff --git a/test/samples/root.js b/test/acceptance/root.jssimilarity index 100%rename from test/samples/root.jsrename to test/acceptance/root.jsdiff --git a/test/samples/test.coffee b/test/acceptance/test.coffeesimilarity index 100%rename from test/samples/test.coffeerename to test/acceptance/test.coffeediff --git a/test/samples/timeout.js b/test/acceptance/timeout.jssimilarity index 100%rename from test/samples/timeout.jsrename to test/acceptance/timeout.jsdiff --git a/test/samples/uncaught.js b/test/acceptance/uncaught.jssimilarity index 100%rename from test/samples/uncaught.jsrename to test/acceptance/uncaught.jsdiff --git a/test/samples/browser/array.js b/test/browser/array.jssimilarity index 100%rename from test/samples/browser/array.jsrename to test/browser/array.jsdiff --git a/test/samples/browser/index.html b/test/browser/index.htmlsimilarity index 100%rename from test/samples/browser/index.htmlrename to test/browser/index.htmldiff --git a/test/samples/browser/jquery.js b/test/browser/jquery.jssimilarity index 100%rename from test/samples/browser/jquery.jsrename to test/browser/jquery.jsdiff --git a/test/samples/browser/large.html b/test/browser/large.htmlsimilarity index 100%rename from test/samples/browser/large.htmlrename to test/browser/large.htmldiff --git a/test/samples/browser/large.js b/test/browser/large.jssimilarity index 100%rename from test/samples/browser/large.jsrename to test/browser/large.jsdiff --git a/test/samples/browser/style.css b/test/browser/style.csssimilarity index 100%rename from test/samples/browser/style.cssrename to test/browser/style.css