InstallationInstructions for: For release announcements, subscribe to the Infinitest-Eclipse News Feed. Filtering TestsIf you have tests in your project that run too slowly to run all the time, you can tell Infinitest not to run them. Create a file named infinitest.filters that contains regular expressions (one per line) that match the test classes you want to filter. Put this file in the root of your project (a.k.a. the working directory), and Infinitest will filter those tests out. Here are some examples:
You can check this file in source control to allow all developers to filter the same tests, or generate it as part of your build process. Setting JVM OptionsIf you need to set custom JVM options (such as memory settings, system properties, java language assertions, etc…) when running tests, you can configure them by creating a simple text file in the working directory of your project named infinitest.args that contains one VM argument per line to be included whenever Infinitest runs tests. Just as with the filter file, this can be checked into source control, or generated as part of an automated build. Pro Tips
Common ProblemsInfinitest isn’t running my testsIf you’re running Eclipse, ensure that:
If you’re using IntelliJ:
I can’t access the update site!If you are behind a firewall, you may have limited access to the Internet. This can cause problems accessing the update site. If you use a web proxy to connect to the Internet, make sure that you have correctly entered your proxy settings into Eclipse under Preferences->General->Network Connections. |
