vendredi 5 juin 2015

In Ruby can a parameterized test be parallelized?

In Ruby can a parameterized test be parallelized? If so, how would you do it?

Here are my thoughts:

  1. I would prefer to use http://ift.tt/wRZyqH to run my tests in parallel (or some similar method).

  2. Because parallel_test seems to work based on having multiple test classes and each one runs in a separate thread, i benefit from having many separate multiple test classes.

  3. If I have a single test class and i want to parameterize it with variable data from a spreadsheet, then how can I create a factory that generates a new class instance per-row in the spreadsheet? I need that to take advantage of parallel_test gem module.

  4. I would like to use Rake to filter tests into suite-groups.

Aucun commentaire:

Enregistrer un commentaire