From 29818cef56f80ae6e879f2c34a4592002796f48e Mon Sep 17 00:00:00 2001 From: Cyril Mougel Date: Sun, 19 May 2013 10:56:31 +0200 Subject: [PATCH] Add new document about the test-queue usage on errbit --- .gitignore | 6 +++++- README.md | 5 +++++ docs/DEVELOPPER-ADVANCED.md | 22 ++++++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 docs/DEVELOPPER-ADVANCED.md diff --git a/.gitignore b/.gitignore index 1d0f46c..194ffb5 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,8 @@ config/newrelic.yml *~ *.rbc .DS_Store -*# \ No newline at end of file +*.rbx +bin +bundle +coverage +*# diff --git a/README.md b/README.md index 85d38fa..d82c2a1 100644 --- a/README.md +++ b/README.md @@ -457,6 +457,11 @@ Solutions known to work are listed below: +Develop on Errbit +----------------- + +A guide can help on this way on [**Errbit Advanced Developer Guide**](https://github.com/errbit/errbit/blob/master/docs/DEVELOPER-ADVANCED.md) + TODO ---- diff --git a/docs/DEVELOPPER-ADVANCED.md b/docs/DEVELOPPER-ADVANCED.md new file mode 100644 index 0000000..8608c63 --- /dev/null +++ b/docs/DEVELOPPER-ADVANCED.md @@ -0,0 +1,22 @@ +# Some Tips to help you when you develop on Errbit + +## Running spec on multi-threaded mode + +Running the complete test suite can be really long. You can running it +on multi-fork system with the wonderfull gem of +[@tmm1](http://github.com/tmm1), [test-queue](http://github.com/tmm1/test-queue) + +If you want do it, you need install in first the gem 'test-queue' + +``` +gem install test-queue +``` + +After you just need launch the script with adapting runner of mongoid. + +``` +./script/rspec-queue-mongoid.rb spec +``` + +In my case, the complete test suite down to 2min after a 16min long +before. -- libgit2 0.21.2