Created
December 12, 2012 18:32
-
-
Save hyeomans/4270322 to your computer and use it in GitHub Desktop.
Testing environment for Rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.- Start Spork in a terminal window. | |
2.- Write a single test or small group of tests. | |
3.- Run Command-Shift-R to verify that the test or test group is red. | |
4.- Write the corresponding application code. | |
5.- Run Command-Shift-E to run the same test/group again, verifying that it’s green. | |
6.- Repeat steps 2–5 as necessary. | |
7.- When reaching a natural stopping point (such as before a commit), run rspec spec/ at the command line to confirm that the entire test suite is still green. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment