Commit 29818cef56f80ae6e879f2c34a4592002796f48e
1 parent
fc575373
Exists in
master
and in
1 other branch
Add new document about the test-queue usage on errbit
We can have a more quick test suite with test-queue. A doc explain how you can use it [ci skip]
Showing
3 changed files
with
32 additions
and
1 deletions
Show diff stats
.gitignore
README.md
@@ -457,6 +457,11 @@ Solutions known to work are listed below: | @@ -457,6 +457,11 @@ Solutions known to work are listed below: | ||
457 | </tr> | 457 | </tr> |
458 | </table> | 458 | </table> |
459 | 459 | ||
460 | +Develop on Errbit | ||
461 | +----------------- | ||
462 | + | ||
463 | +A guide can help on this way on [**Errbit Advanced Developer Guide**](https://github.com/errbit/errbit/blob/master/docs/DEVELOPER-ADVANCED.md) | ||
464 | + | ||
460 | TODO | 465 | TODO |
461 | ---- | 466 | ---- |
462 | 467 |
@@ -0,0 +1,22 @@ | @@ -0,0 +1,22 @@ | ||
1 | +# Some Tips to help you when you develop on Errbit | ||
2 | + | ||
3 | +## Running spec on multi-threaded mode | ||
4 | + | ||
5 | +Running the complete test suite can be really long. You can running it | ||
6 | +on multi-fork system with the wonderfull gem of | ||
7 | +[@tmm1](http://github.com/tmm1), [test-queue](http://github.com/tmm1/test-queue) | ||
8 | + | ||
9 | +If you want do it, you need install in first the gem 'test-queue' | ||
10 | + | ||
11 | +``` | ||
12 | +gem install test-queue | ||
13 | +``` | ||
14 | + | ||
15 | +After you just need launch the script with adapting runner of mongoid. | ||
16 | + | ||
17 | +``` | ||
18 | +./script/rspec-queue-mongoid.rb spec | ||
19 | +``` | ||
20 | + | ||
21 | +In my case, the complete test suite down to 2min after a 16min long | ||
22 | +before. |