Questions tagged [infinitest]

infinitest is a continuous test runner for Java.

It is available as a plug-in for Eclipse and IntelliJ.

41 questions
1
vote
1 answer

Ignoring tests in Infinitest

I am automating system tests using Silk4J. Silk4J is based on JUnit. In addition I am testing my helper classes using pure JUnit tests. Now I need to tell Infinitest which tests shall be considered for running immediately. I will choose the unit…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
1
vote
1 answer

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

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…
user754691
1
vote
0 answers

infinitest usage with Robotium for Android

I cant get infinitest(continuous test runner for TDD) to auto test with android junit test cases. Im using Robotium for UI testing. Is infinitest compatible with Robotium ? Here is the Problem page error (within eclipse Problem window) i get even…
j2emanue
  • 60,549
  • 65
  • 286
  • 456
0
votes
0 answers

Why does Infinitest keep giving me SocketExceptions and what can I do about it?

I'm running Infinitest in Eclipse Neon (version numbers below). Except it won't run and in the Infinitest Console, I get this message over and over: Error occurred during test run java.net.ConnectException: Connection refused: connect at…
Risser
  • 585
  • 7
  • 20
0
votes
0 answers

@Value annotation is not working with Infinitest 5.2.0 on STS 3.9.6

JUnit tests are failing when triggered by Infinitest complaining about wrong configuration values. E.g. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseConfiguration': Injection of autowired…
0
votes
1 answer

Limit infinitest to the current project in Eclipse

When I make some changes in a JAVA file, infinitest launch the tests of the current project (which is what I expect, it takes only few seconds). After a timeout (I don't know exactly), infinitest begins to run all the tests from all the projects in…
GlinesMome
  • 1,549
  • 1
  • 22
  • 35
0
votes
1 answer

Add facet to all modules

I wanted to start using Infinitest in IDEA. User guide tells you to add an "Infinitest" facet to your module. This is a bit of a problem since the project I'm working with has ~ 30 maven modules. I don't want to go over each one of them and manuall…
Jakub Bochenski
  • 3,113
  • 4
  • 33
  • 61
0
votes
0 answers

Can't find Infinitest Stack Trace in IntelliJ

Infinitest is running and showing me the failed test marker, and when I hover over the marker I get text that reads NullPointerException(), but I can't find out how to view the full stack trace to know where the exception is being thrown.
Matt Klein
  • 7,856
  • 6
  • 45
  • 46
0
votes
0 answers

Infinitest not refreshing in IntelliJ IDEA (15) on gradle project

The Infinitest plugin under IntelliJ IDEA 15 is not re-running my tests when I change a source file. I wonder if it is because my project is a gradle project. Is there a way to make it refresh automatically? (It is also Scala code, but I'm using the…
voxoid
  • 1,164
  • 1
  • 14
  • 31
0
votes
1 answer

Firing function on assert failure

I am working on complicated code generation using CodeModel available in Java. I have managed to setup my unit tests in such a way so that a test generates small but functionally complete Java code which gets compiled in memory and generated…
user937720
  • 182
  • 1
  • 1
  • 5
0
votes
1 answer

Setting up a Mockery's Expectations in relation to protected methods

I'm running into a problem with trying to set up a Mockery to test for method invocation. I saw How to test protected methods of abstract class using JUnit and JMock and it's essentially the same question, but I can't make out what Chris is…
Joishi Bodio
  • 438
  • 6
  • 17
1 2
3