Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

How to stop randomizing / run a single example #80

Open
plexus opened this issue Apr 25, 2015 · 2 comments
Open

How to stop randomizing / run a single example #80

plexus opened this issue Apr 25, 2015 · 2 comments

Comments

@plexus
Copy link

plexus commented Apr 25, 2015

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
Copy link

mvz commented Jun 16, 2015

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

@mvz
Copy link

mvz commented Oct 27, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants