This repository hosts materials of Rails testing workshop.
It's very draftly and only includes very basic usages of RSpec testing. It may be improved in the future. If you have any idea feel free to open an issue.
Also, you're free to use this material. You don't have to ask me anything to use this material. It'll be nice if you drop a note to me (twitter @yorkxin) if you have used this. Any feedback is welcomed.
The repository contains several tags that help attendees switch to a revision quickly:
rev-*- for examples, features are done, and may have some sample testsexercise-*- for exercisesanswer-*- for answers to corresponding exercises
To run the workshop:
- Ask attendees to
git checkout rev-01
- Explain some code in this version
- Ask attendees to
git checkout -f exercise-01 - Ask attendees to fill some code
- Ask attendees to
git checkout -f answer-01(their works will be overriden). - Continue to 1 for next loop.
MIT Licence. See LICENSE file.
In order to avoid network failure during workshop, all gems are packaged into vendor/cache and will be distributed during git clone.
If you think it is not good to distribute any of them (license issue etc.), please kindly open an issue, and I'll remove them.
Also, tell me if you have good idea about network issue!