Skip to content

Conversation

@jamestalmage
Copy link
Contributor

This uses nyc directly instead of via tap. There is currently some semver brokeness happening due to a major version bump in nyc making it's way into a minor version bump for tap. I think the easiest solution is just to avoid the problem altogether by turning off taps coverage option and using nyc directly.

Reference:
tapjs/tapjs#197


This also switches us to the classic reporter. Historically were using dots reporter with tape, but that provided poor diagnostic information on failures. The classic reporter does a much better job of providing all the information we need when a test fails.

@sindresorhus
Copy link
Member

./node_modules/.bin/tap => tap?

This uses `nyc` directly instead of via `tap`. There is currently some semver brokeness happening due to a major version bump in `nyc` making it's way into a minor version bump for `tap`. I think the easiest solution is just to avoid the problem altogether by turning off `tap`s coverage option and using `nyc` directly.

Reference:
  tapjs/tapjs#197

---

This also switches us to the `classic` reporter. Historically were using `dots` reporter with `tape`, but that provided poor diagnostic information on failures. The `classic` reporter does a much better job of providing all the information we need when a test fails.
@jamestalmage
Copy link
Contributor Author

I was under the (very mistaken) impression that would not work following nyc. Fixed.

vadimdemedes pushed a commit that referenced this pull request Dec 29, 2015
@vadimdemedes vadimdemedes merged commit 1560138 into avajs:master Dec 29, 2015
@jamestalmage jamestalmage deleted the better-test-scripts branch December 29, 2015 12:13
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.

3 participants