Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With Autotest, repeatedly runs single test file #8

Open
mileszs opened this issue Feb 17, 2010 · 2 comments
Open

With Autotest, repeatedly runs single test file #8

mileszs opened this issue Feb 17, 2010 · 2 comments

Comments

@mileszs
Copy link

mileszs commented Feb 17, 2010

In a Rails project that uses Shoulda (in case that matters), I required turn using the recommended begin ... rescue LoadError scheme. I then ran autotest -f. After changing a file and saving it, autotest did indeed run the related test file, but it then continued to run it in a loop without end -- even when I saved another file.

My apologies for not tracking down the issue and patching it myself.

@trans
Copy link
Contributor

trans commented Apr 29, 2010

That sucks ;-) I don't use Autotest myself, but if you can track down the cause, I'll have a closer look. I fear Autotest and Turn might be dipping their toes into some of the same test/unit code.

@trans
Copy link
Contributor

trans commented Apr 29, 2010

Oh, does Autotest let you adjust how the tests get executed? If so, try using the turn command-line tool to run the tests instead of the begin... rescue LoadError scheme.

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

No branches or pull requests

2 participants