Skip to content

Upgrading 0.6.x to 0.7.x

grosser edited this page Feb 26, 2012 · 2 revisions

Running all tests via commandline:

Pass which folder you want to run, without arguments it does nothing.

parallel_specs -> parallel_specs spec

Rake task test-patterns:

Paths now include the full path to the file.

rake parallel:spec[^models] --> rake parallel:spec[^spec/models]

Formatters:

The namespaces have been unified + the spec runtime log has a new position

ParallelSpec::SpecRuntimeLogger --> ParallelTests::Spec::RuntimeLogger
tmp/parallel_profile.log --> tmp/parallel_runtime_spec.log

Rails 2 + installed as plugin ?

Deprecated task-autoloading has been removed.

# add to your Rakefile
begin; require 'vendor/plugins/parallel_tests/lib/parallel_tests/tasks'; rescue LoadError; end

rake spec:parallel has been removed

Use rake parallel:spec

( ͡° ͜ʖ ͡°) ¯_(ツ)_/¯!

Clone this wiki locally