Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Test instructions update #1557

Closed
wants to merge 2 commits into from

2 participants

@mscottford

Updates the README and Rakefile to reflect that the all_tests task is now gone.

@schof schof closed this in 439bffc
@tvdeyen tvdeyen referenced this pull request from a commit in magiclabs/spree
@mscottford mscottford Updates README to reflect the removal of the default and all_tests ra…
…ke tasks.

[Fixes #1557]
094316f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 9 additions and 7 deletions.
  1. +9 −5 README.md
  2. +0 −2  Rakefile
View
14 README.md
@@ -131,11 +131,6 @@ If you want to remove precompiled assets (recommended before you commit to Git a
Running Tests
-------------
-If you want to run all the tests across all the gems then
-
- $ cd spree
- $ bundle exec rake
-
Each gem contains its own series of tests, and for each directory, you need to do a quick one-time
creation of a test application and then you can use it to run the tests. For example, to run the
tests for the core project.
@@ -163,6 +158,15 @@ If you want to run a particular line of spec
$ bundle exec rspec spec/models/state_spec.rb:7
+Travis, the continuous integration service, runs the test suite for each gem one at a time.
+
+ $ bundle exec rake test_app
+ $ cd api; bundle install; bundle exec rspec spec
+ $ cd ../auth; bundle install; bundle exec rspec spec
+ $ cd ../core; bundle install; bundle exec rspec spec
+ $ cd ../dash; bundle install; bundle exec rspec spec
+ $ cd ../promo; bundle install; bundle exec rspec spec
+
Contributing
------------
View
2  Rakefile
@@ -18,8 +18,6 @@ task :test_app do
end
end
-task :default => :all_tests
-
desc "Run all tests for all supported databases"
task :ci do
cmd = "bundle update"; puts cmd; system cmd;
Something went wrong with that request. Please try again.