From 21b19db5a30fcb6db83f4ac9302cc94c6320a0db Mon Sep 17 00:00:00 2001 From: Jamie Winsor Date: Mon, 1 Aug 2011 11:27:28 -0700 Subject: refactor engine testing scenario Engine is now tested standalone by leveraging a dummy rails app Enable Guard for speedy testing Move factories to the more standard location `spec/factories/*` Update README with a Testing section Rename migrations to contain datetimestamps for their version to fix migration order issues when migrating the dummy application --- readme.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 32bf487..f5f0e53 100644 --- a/readme.md +++ b/readme.md @@ -27,4 +27,19 @@ Next, to install the blog plugin run: Finally migrate your database and you're done. - rake db:migrate \ No newline at end of file + rake db:migrate + +## Developing & Contributing + +### Testing + +Setup the test environment + + $ bundle install + $ bundle exec rake app:db:migrate + $ bundle exec rake app:db:test:prepare + +Run the test suite with [Guard](https://github.com/guard/guard) + + $ bundle exec guard start + \ No newline at end of file -- cgit v1.2.3