Commit dacfcb146a86a30a0974671d5fc85205af44446a
1 parent
459ac50b
Exists in
master
and in
1 other branch
better description for testing section of README_FOR_TEMPLATE
Showing
1 changed file
with
8 additions
and
3 deletions
Show diff stats
doc/README_FOR_TEMPLATE
@@ -91,15 +91,20 @@ Testing | @@ -91,15 +91,20 @@ Testing | ||
91 | 91 | ||
92 | Testing is done utilizing Test::Unit, Shoulda, factory_girl, and mocha. | 92 | Testing is done utilizing Test::Unit, Shoulda, factory_girl, and mocha. |
93 | 93 | ||
94 | +Shoulda is a pragmatic testing framework for TDD built on top of Test::Unit. | ||
95 | + | ||
96 | + thoughtbot-shoulda --version '>= 2.10.1' --source gems.github.com | ||
97 | + | ||
94 | factory_girl is a fixture replacement library, following the factory pattern. | 98 | factory_girl is a fixture replacement library, following the factory pattern. |
95 | Place your factories in test/factories.rb. The fixture directory has been | 99 | Place your factories in test/factories.rb. The fixture directory has been |
96 | removed, as fixtures are not used. | 100 | removed, as fixtures are not used. |
97 | 101 | ||
98 | -Shoulda is a pragmatic testing framework for TDD built on top of Test::Unit. | 102 | + thoughtbot-factory_girl --version '>= 1.2.0' --source gems.github.com |
103 | + | ||
104 | +Mocha is a widely-used mocking library, including by Rails itself. We use a fork | ||
105 | +from Joe Ferris that adds test spies (assert_received) to Mocha. | ||
99 | 106 | ||
100 | jferris-mocha --version '0.9.5.0.1241126838' --source gems.github.com | 107 | jferris-mocha --version '0.9.5.0.1241126838' --source gems.github.com |
101 | - thoughtbot-factory_girl --version '>= 1.2.0' --source gems.github.com | ||
102 | - thoughtbot-shoulda --version '>= 2.10.1' --source gems.github.com | ||
103 | 108 | ||
104 | Mascot | 109 | Mascot |
105 | ------ | 110 | ------ |