Readme.md in parallel_tests-0.9.2 vs Readme.md in parallel_tests-0.9.3
- old
+ new
@@ -63,10 +63,24 @@
843 examples, 0 failures, 1 pending
Took 29.925333 seconds
+Running things once
+===================
+
+```Ruby
+# effected by race-condition: first process may boot slower the second
+# either sleep a bit or use a lock for example File.lock
+ParallelTests.first_process? ? do_something : sleep(1)
+
+at_exit do
+ ParallelTests.wait_for_other_processes_to_finish
+ undo_something
+end
+```
+
Loggers
===================
Even process runtimes
-----------------
@@ -176,11 +190,12 @@
- [email_spec and/or action_mailer_cache_delivery](https://github.com/grosser/parallel_tests/wiki)
- [Memcached] use different namespaces e.g. `config.cache_store = ..., :namespace => "test_#{ENV['TEST_ENV_NUMBER']}"`
TODO
====
+ - make tests consistently pass with `--order random` in .rspec
- fix tests vs cucumber >= 1.2 `unknown option --format`
- - add tests for the rake tasks, maybe generate a rails project ...
+ - add integration tests for the rake tasks, maybe generate a rails project ...
- add unit tests for cucumber runtime formatter
- make jRuby compatible [basics](http://yehudakatz.com/2009/07/01/new-rails-isolation-testing/)
- make windows compatible
Authors