Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 27 lines (15 sloc) 0.802 kb
0ffb687 Ben Orenstein Convert TESTING to markdown. Copy edit it a bit.
r00k authored
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 Gabe Berke-Williams Don't use bundle exec rake
gabebw authored
9 # NOT: bundle exec rake vendor_test_gems
0ffb687 Ben Orenstein Convert TESTING to markdown. Copy edit it a bit.
r00k authored
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 Gabe Berke-Williams Don't use bundle exec rake
gabebw authored
15 rake
0ffb687 Ben Orenstein Convert TESTING to markdown. Copy edit it a bit.
r00k authored
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
fd2f489 Gabe Berke-Williams Remove leftover RDOC formatting
gabebw authored
24 ./script/integration_test.rb <test project's api key> <staging server hostname>
0ffb687 Ben Orenstein Convert TESTING to markdown. Copy edit it a bit.
r00k authored
25
fd2f489 Gabe Berke-Williams Remove leftover RDOC formatting
gabebw authored
26 ./script/integration_test.rb <test project's api key> <staging server hostname> secure
Something went wrong with that request. Please try again.