Skip to content
Newer
Older
100644 27 lines (15 sloc) 804 Bytes
0ffb687 @r00k Convert TESTING to markdown. Copy edit it a bit.
r00k authored Jul 12, 2011
1 Running the suite
2 =================
3
4 Since the notifier must run on many versions of Rails, running its test suite is slightly different than you may be used to.
5
6 First execute the following command:
7
8 rake vendor_test_gems
44def7d @gabebw Don't use bundle exec rake
gabebw authored Aug 5, 2011
9 # NOT: bundle exec rake vendor_test_gems
0ffb687 @r00k Convert TESTING to markdown. Copy edit it a bit.
r00k authored Jul 12, 2011
10
11 This command will download the various versions of Rails that the notifier must be tested against.
12
13 Then, to start the suite, run
14
44def7d @gabebw Don't use bundle exec rake
gabebw authored Aug 5, 2011
15 rake
0ffb687 @r00k Convert TESTING to markdown. Copy edit it a bit.
r00k authored Jul 12, 2011
16
17 Note: do NOT use 'bundle exec rake'.
18
19 For Maintainers
20 ================
21
22 When developing the Hoptoad Notifier, be sure to use the integration test against an existing project on staging before pushing to master.
23
24 ./script/integration_test.rb <test project's api key> <staging server hostname>+
25
26 ./script/integration_test.rb <test project's api key> <staging server hostname> secure+
Something went wrong with that request. Please try again.