infinitest (eclipse) no related tests found for last change since moving tests

469 views Asked by At

I have moved our unit tests from a separate project to the actual project they are being tested in from a separate test project. We now have the following folder structure:

/src/main/java...
/test/main/java...

I have added the test folder to the build path of the project and this, along with src gets built to the /bin folder.

When I make a change to a class, infinitest says "No related tests found for last change". When the tests were in a separate project, infinitest was able to run them as expected. I have no filters file to filter tests in this project.

Any ideas?

1

There are 1 answers

0
Jwest08 On

I had a similar problem that was driving me nuts. Turns out that Infinitest doesn't like spaces in the path to the source files. I had a space in my workspace directory name. Removing the space solved the problem.