Skip to content

binary: Rewrite tests to use hspec with fail-fast. #240

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

Merged
merged 1 commit into from
Jul 31, 2016
Merged

binary: Rewrite tests to use hspec with fail-fast. #240

merged 1 commit into from
Jul 31, 2016

Conversation

rbasso
Copy link
Contributor

@rbasso rbasso commented Jul 26, 2016

  • Rewrite tests to use hspec.
  • Update tests to match the json file.
  • Fix test descriptions mentioning "errors".

Related to #211.

@petertseng
Copy link
Member

on the one hand, the behavior hasn't changed, so I shouldn't compain too much, but on the other hand, the tests now have descriptions that specifcally include the words "raises an error" yet an expectation of zero certainly isn't raising an error, so adding the descriptions makes the existing tests make less sense! Is it time to do something about this?

@rbasso
Copy link
Contributor Author

rbasso commented Jul 30, 2016

Well....this came from x-common, so we could change it there.
But the exercise will be deprecated anyway, so It's not really important to update x-common.

I'll change the strings just to avoid the confusing error messages!

- Rewrite tests to use hspec.
- Update tests to match the json file.
- Fix test descriptions mentioning "errors".
@rbasso
Copy link
Contributor Author

rbasso commented Jul 31, 2016

Updated the descriptions mentioning errors

@petertseng
Copy link
Member

👍

@rbasso rbasso merged commit 784e09a into exercism:hspec-fail-fast Jul 31, 2016
@rbasso rbasso deleted the hspec-binary branch July 31, 2016 07:40
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