Sha256: eee04e663e703be8d80f01b685767a946a07cced7e8b2e3ec8596e64125ad627

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

Running the suite
=================

Since the notifier must run on many versions of Rails, running its test suite is slightly different than you may be used to.

You should start by trusting the .rvmrc file. We come in peace.

Then execute the following command:

    rake vendor_test_gems
    # NOT: bundle exec rake vendor_test_gems

This command will download the various versions of Rails and other gems that the notifier must be tested against.

Then, to start the suite, run

    rake
    # NOT: bundle exec rake

Finally, this test suite runs against many rails versions. If you
prefer to run it against specific version hit

    rake cucumber:rails:<VERSION>

You can also specify to test only against the certain frameworks we
support (rack, rake and sinatra) by executing

    rake cucumber:<FRAMEWORK>

This tasks are not printed out with `rake -T` since they're added
dynamically in the Rakefile.


For Maintainers
================

When developing the Pulse gem, be sure to use the integration test against an existing project on staging before pushing to master.

    ./script/integration_test.rb <test project's api key> <staging server hostname>

    ./script/integration_test.rb <test project's api key> <staging server hostname> secure

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
projectlocker_pulse-1.0.0 TESTING.md
projectlocker_pulse-0.2.1 TESTING.md