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

Readable specs #16

Closed
wants to merge 3 commits into from
Closed

Readable specs #16

wants to merge 3 commits into from

Conversation

dblock
Copy link
Collaborator

@dblock dblock commented Mar 26, 2012

I think that testing against the locale file misses the point. If the locale file had "foobar" instead of "one", the tests would still pass, but the code would be broken.

Rewrote the tests to be checking against the actual expected result.

@kslazarev
Copy link
Owner

I merge this changes to branch 'feature/readable_tests'. Please review that branch and get your proposals here.

@dblock dblock closed this Mar 29, 2012
@dblock
Copy link
Collaborator Author

dblock commented Mar 29, 2012

YML-driven examples are much better! Great stuff. Closing this pull request.

@kslazarev
Copy link
Owner

I think it's not ideal way. Maybe yml files could be in better place or maybe helper and shared example could be more understandable.

@dblock
Copy link
Collaborator Author

dblock commented Mar 29, 2012

I think it's a huge improvement over what you have now. I take a pragmatic approach to these things...

@ghost ghost assigned kslazarev May 1, 2012
@dblock dblock deleted the readable-specs branch December 14, 2015 15:54
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