Skip to content
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

Re-organise Tests (removes sinon-test.js) #968

Merged
merged 10 commits into from
Jan 18, 2016

Conversation

jonnyreeves
Copy link
Contributor

Re-organise the contents of the test folder so each modules tests are better aligned to their subject's location in lib/.

Removes a single test-case for sinon.log; I wasn't convinced it was worth keeping :)

Pulls out 3 suites into `test/util/core/wrap-method-test` for better organisation.
Pulls out a suite into `test/util/core/deep-equal-test` for better organisation.
Pulls out a suite into `test/stub-test` to align with the fact `createStubInstance` is defined (and exposed against) the `spy` module.
Pulls out a suite into `test/util/core/restore-test` for better organisation.

As a side note, I am not sure that `sinon.restore` is a core util; should it infact be part of the public API and be moved to `lib/`?
Pulls out a suite into `test/util/core/funciton-to-string-test` for better organisation.
Kills off a single test for `sinon.log` - I'm not convinced anything of value was lost :)
@jonnyreeves jonnyreeves mentioned this pull request Jan 16, 2016
36 tasks
@fatso83
Copy link
Contributor

fatso83 commented Jan 18, 2016

Thank you! It's a dirty job, so it's great when someone takes on the task :-)

fatso83 added a commit that referenced this pull request Jan 18, 2016
Re-organise tests (removes `sinon-test.js`)
@fatso83 fatso83 merged commit 6de30c3 into sinonjs:master Jan 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants