forked from sinonjs/sinon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quick "fix": put unstable tests in separate files
- Loading branch information
Showing
3 changed files
with
120 additions
and
2 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Sinon.JS Unit tests</title> | ||
<link rel="stylesheet" type="text/css" href="../node_modules/buster-test/resources/buster-test.css"> | ||
<meta charset="utf-8"> | ||
</head> | ||
<body> | ||
<h1>Sinon.JS Unit tests</h1> | ||
<p> | ||
Unfortunately this suite is kinda unstable. Run many times. Should | ||
eventually be fixed. | ||
</p> | ||
<!-- | ||
Test framework. Not using pre-built bundle because we don't want | ||
Sinon.JS bundled inside Buster.JS (which it is in the official | ||
distribution). | ||
--> | ||
<script src="../node_modules/buster-core/lib/buster-core.js"></script> | ||
<script src="../node_modules/buster-core/lib/buster-event-emitter.js"></script> | ||
<script src="../node_modules/buster-format/lib/buster-format.js"></script> | ||
<script src="../node_modules/buster-assertions/lib/buster-assertions.js"></script> | ||
<script src="../node_modules/buster-evented-logger/lib/buster-evented-logger.js"></script> | ||
<script src="../node_modules/buster-test/node_modules/when/when.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/test-context.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/test-case.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/test-runner.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/auto-run.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/stack-filter.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/reporters.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/reporters/html.js"></script> | ||
|
||
<script src="../node_modules/formatio/node_modules/samsam/lib/samsam.js"></script> | ||
<script src="../node_modules/formatio/lib/formatio.js"></script> | ||
<!-- Custom runner --> | ||
<script src="runner.js"></script> | ||
<!-- Sources --> | ||
<script src="../lib/sinon.js"></script> | ||
<script src="../lib/sinon/match.js"></script> | ||
<script src="../lib/sinon/spy.js"></script> | ||
<script src="../lib/sinon/call.js"></script> | ||
<script src="../lib/sinon/behavior.js"></script> | ||
<script src="../lib/sinon/stub.js"></script> | ||
<script src="../lib/sinon/mock.js"></script> | ||
<script src="../lib/sinon/assert.js"></script> | ||
<script src="../lib/sinon/util/event.js"></script> | ||
<script src="../lib/sinon/util/fake_xml_http_request.js"></script> | ||
<script src="../lib/sinon/util/fake_timers.js"></script> | ||
<script src="../lib/sinon/util/xhr_ie.js"></script> | ||
<script src="../lib/sinon/util/timers_ie.js"></script> | ||
<script src="../lib/sinon/util/fake_server.js"></script> | ||
<script src="../lib/sinon/util/fake_server_with_clock.js"></script> | ||
<script src="../lib/sinon/collection.js"></script> | ||
<script src="../lib/sinon/sandbox.js"></script> | ||
<script src="../lib/sinon/test.js"></script> | ||
<script src="../lib/sinon/test_case.js"></script> | ||
<!-- Tests --> | ||
<script src="sinon/util/fake_server_with_clock_test.js"></script> | ||
</body> | ||
</html> |
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,60 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Sinon.JS Fake timers Unit tests</title> | ||
<link rel="stylesheet" type="text/css" href="../node_modules/buster-test/resources/buster-test.css"> | ||
<meta charset="utf-8"> | ||
</head> | ||
<body> | ||
<h1>Sinon.JS Unit tests</h1> | ||
<p> | ||
Unfortunately this suite is kinda unstable. Run many times. Should | ||
eventually be fixed. | ||
</p> | ||
<!-- | ||
Test framework. Not using pre-built bundle because we don't want | ||
Sinon.JS bundled inside Buster.JS (which it is in the official | ||
distribution). | ||
--> | ||
<script src="../node_modules/buster-core/lib/buster-core.js"></script> | ||
<script src="../node_modules/buster-core/lib/buster-event-emitter.js"></script> | ||
<script src="../node_modules/buster-format/lib/buster-format.js"></script> | ||
<script src="../node_modules/buster-assertions/lib/buster-assertions.js"></script> | ||
<script src="../node_modules/buster-evented-logger/lib/buster-evented-logger.js"></script> | ||
<script src="../node_modules/buster-test/node_modules/when/when.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/test-context.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/test-case.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/test-runner.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/auto-run.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/stack-filter.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/reporters.js"></script> | ||
<script src="../node_modules/buster-test/lib/buster-test/reporters/html.js"></script> | ||
|
||
<script src="../node_modules/formatio/node_modules/samsam/lib/samsam.js"></script> | ||
<script src="../node_modules/formatio/lib/formatio.js"></script> | ||
<!-- Custom runner --> | ||
<script src="runner.js"></script> | ||
<!-- Sources --> | ||
<script src="../lib/sinon.js"></script> | ||
<script src="../lib/sinon/match.js"></script> | ||
<script src="../lib/sinon/spy.js"></script> | ||
<script src="../lib/sinon/call.js"></script> | ||
<script src="../lib/sinon/behavior.js"></script> | ||
<script src="../lib/sinon/stub.js"></script> | ||
<script src="../lib/sinon/mock.js"></script> | ||
<script src="../lib/sinon/assert.js"></script> | ||
<script src="../lib/sinon/util/event.js"></script> | ||
<script src="../lib/sinon/util/fake_xml_http_request.js"></script> | ||
<script src="../lib/sinon/util/fake_timers.js"></script> | ||
<script src="../lib/sinon/util/xhr_ie.js"></script> | ||
<script src="../lib/sinon/util/timers_ie.js"></script> | ||
<script src="../lib/sinon/util/fake_server.js"></script> | ||
<script src="../lib/sinon/util/fake_server_with_clock.js"></script> | ||
<script src="../lib/sinon/collection.js"></script> | ||
<script src="../lib/sinon/sandbox.js"></script> | ||
<script src="../lib/sinon/test.js"></script> | ||
<script src="../lib/sinon/test_case.js"></script> | ||
<!-- Tests --> | ||
<script src="sinon/util/fake_timers_test.js"></script> | ||
</body> | ||
</html> |