CodePadawans / ataru

MIT License
37 stars 3 forks source link

How to stop randomizing / run a single example #80

Open plexus opened 9 years ago

plexus commented 9 years ago

We are currently in the process of validating the Yaks README with Ataru. One issue we run in into is that we have a long list of failures, and minitest puts them in a random order.

This is very annoying when you're trying to fix things, because you pick a single example that you're trying to fix, but each time you run Ataru it shows up somewhere else in the output.

This use case could be addressed in two ways. If we could stop the output from being randomized, then one could simply work on the current first or last example. Or if you could tell ataru to only check a single example, you could just focus on that until it works.

Are either of these possible right now? Would it be easy to add?

/cc @mifix

mvz commented 9 years ago

This should help: http://stackoverflow.com/a/26721681/471412

mvz commented 9 years ago

Keeping the order fixed would also help to avoid the need to require all your code in each example.