Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicholasjhenry/wbitdd
Demonstrates Contract Testing based on "The World's Best Intro to TDD"
https://github.com/nicholasjhenry/wbitdd
experiment professional-development ruby
Last synced: 8 days ago
JSON representation
Demonstrates Contract Testing based on "The World's Best Intro to TDD"
- Host: GitHub
- URL: https://github.com/nicholasjhenry/wbitdd
- Owner: nicholasjhenry
- Created: 2015-05-02T14:02:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-07T17:19:40.000Z (almost 8 years ago)
- Last Synced: 2024-10-12T03:11:28.538Z (about 1 month ago)
- Topics: experiment, professional-development, ruby
- Language: Ruby
- Homepage: http://online-training.jbrains.ca/courses/wbitdd-01/lectures/139945
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Contract Testing
Demonstrates Contract Testing in [Ruby](https://www.ruby-lang.org/) based on [The World's Best Intro to TDD](http://online-training.jbrains.ca/courses/wbitdd-01/lectures/139945).
I was interested in Contract Testing as a mechansim to avoid API drift. There are two branches in this repository that demonstrates this problem:
1. [api-drift](https://github.com/nicholasjhenry/wbitdd/tree/api-drift)
2. [prevent-api_drift](https://github.com/nicholasjhenry/wbitdd/tree/prevent-api-drift)This source code was used as a discussion with [J. B. Rainsberger](https://twitter.com/jbrains) over a Google Hangout. Unfortunately, the
discussion wasn't recorded or notes taken. However, they did result in the following tweets from Joe:> A student at http://online-training.jbrains.ca/courses/wbitdd-01/ … has helped me clarify the correspondence btw test doubles in collaboration tests and contract tests.
https://twitter.com/jbrains/status/612042806362681345
> Creation methods in contrast tests help enumerate the classes of equivalence in the contract's semantics. How did I not see that before?!
https://twitter.com/jbrains/status/611964232351899650