Questions tagged [infinitest]

infinitest is a continuous test runner for Java.

Filter by
Sorted by
Tagged with
1 vote
1 answer
73 views

Does infinitest for IntelliJ IDEA honor the run tests settings in Gradle?

I have a Gradle project that I would like to use infinitest with. However, while all test pass using the Gradle test runner, many fail in infinitest. Is this because infinitest uses the IntelliJ ...
Todd's user avatar
  • 1,895
1 vote
0 answers
141 views

Spring Tool Suite + Infinitest preference page error

STS 4.14.0.RELEASE with Infinitest 5.2 throws an error on accessing the Infinitest preferences page: Unable to create the selected preference page. java.lang.reflect.InvocationTargetException
stacey11's user avatar
3 votes
0 answers
358 views

Is there a Visual Studio Code equivalent to eclipse's Infinitest?

I would like to do (Java) TDD in Visual Studio Code. I have experience with this in eclipse using JUnit4 and Infinitest. JUnit4 is available for VS Code, but I would also like to have the Infinitest ...
tim-kt's user avatar
  • 304
0 votes
0 answers
133 views

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....
Risser's user avatar
  • 585
0 votes
0 answers
201 views

@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 '...
csorbazoli's user avatar
0 votes
1 answer
168 views

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 ...
GlinesMome's user avatar
  • 1,559
0 votes
1 answer
85 views

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 ...
Jakub Bochenski's user avatar
0 votes
0 answers
68 views

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 ...
Matt Klein's user avatar
  • 7,936
3 votes
1 answer
246 views

JUnit displays 0.4 sec, Infinitest a Slow Test Warning for a 4 ms test

I have this test: @Test public void findsPackageClasses() throws ClassNotFoundException, IOException { final long startTime = System.currentTimeMillis(); Class<?>[] classes = finder....
Steve's user avatar
  • 31
0 votes
0 answers
369 views

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 ...
voxoid's user avatar
  • 1,173
2 votes
2 answers
952 views

How does one enable Infinitest on a gradle project in IntelliJ IDEA 15?

According to the Infinitest User Guide, after installing the Infinitest plugin in IntelliJ IDEA, you're supposed to be able to right click your project and "choose facet, add Infinitest". However, ...
voxoid's user avatar
  • 1,173
5 votes
4 answers
2k views

Eclipse Infinitest not running at all

I've tried to get the Infinitest Plugin for Eclipse to automatically run my tests. According to the documentation, it hooks into all @Test annotated tests and runs the test class, as soon as the ...
Lars's user avatar
  • 5,767
1 vote
0 answers
2k views

NoClassDefFoundError (Could not initialize class org.apache.log4j.Log4jLoggerFactory)

I have a maven project under Eclipse Luna SR2 (4.4.2). This project uses slf4j through maven dependencies. Infinitest is running continuous integration and it works in a lot of case, except for ...
MarcDeXeT's user avatar
  • 264
1 vote
0 answers
250 views

Infinitest : No such method when using temporary folder

I have a problem with Infinitest: I'm working with a junit temporary folder : @Rule public TemporaryFolder testFolder = new TemporaryFolder(); then I'm trying in the test method to create a temp ...
GaspardP's user avatar
  • 890
2 votes
1 answer
349 views

Incremental run of testsuite

We have a large project that has several thousands of tests in the testsuite, and the full testsuite run takes very long time. I am looking for a tool that I can integrate in the Maven build that ...
Radim Vansa's user avatar
  • 5,726
1 vote
1 answer
634 views

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 ...
Thomas Weller's user avatar
1 vote
1 answer
466 views

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/...
user avatar
13 votes
1 answer
625 views

Is it possible to set tests to continuously run on Android Studio?

I'd like to know if it is possible to do continuous testing on Android Studio. I've found the Infinitest tool for Eclipse/IntelliJ but couldn't find any tools for Android Studio. Since Android Studio ...
Danilo Prado's user avatar
  • 2,260
2 votes
0 answers
208 views

Run only test cases related to applied changes

I have two versions of a Java applications. The second version is indeed resulted after applying some changes to the first version. These changes are applied automatically using a genetic programming ...
user3601784's user avatar
2 votes
5 answers
919 views

java continuous testing outside of IDE

I have a bunch of Java unit tests, and I'd like to integrate a continuous testing framework into my codebase. Ideally, I would like to write a Maven / Ant target or bash script which would start ...
Dan's user avatar
  • 7,317
2 votes
0 answers
151 views

is there an inside-Eclipse continuous-integration tool for javascript that looks like infinitest?

When I program in Java, I have recently discovered the free unit-testing tool Infinitest, and installed it as an Eclipse Plugin. The GUI is minimalistic and looks like this statusbar at bottom of ...
knb's user avatar
  • 9,188
11 votes
4 answers
9k views

Karma for Visual Studio? [closed]

I'm a big fan of continuous testing products like Infinitest. Lately I've been doing more JavaScript development, and was looking for something similar for Visua Studio that will run my Jasmine tests ...
roufamatic's user avatar
  • 18.3k
1 vote
0 answers
128 views

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 ...
j2emanue's user avatar
  • 61.2k
22 votes
1 answer
599 views

eclipse + m2e + junit + infinitest + eclemma?

I have Eclipse for Java Developer 4.3 with m2e, eclemma, infinitest. My project uses Eclipse m2e with junit 4.11. My intention is to have coverage info updated every time infinitest re-runs the tests ...
Tair's user avatar
  • 3,779
3 votes
0 answers
305 views

Infinitest fails but Maven works

I have Sprint Tool Suite 3.3 and the latest version of Infinitest installed. According to Infinitest, many of my classes have errors, but yet Maven builds just fine. Here is an example of some ...
sonoerin's user avatar
  • 5,075
3 votes
3 answers
11k views

Performant way to check java.lang.Double for equality

What is the most performant way to check double values for equality. I understand that double a = 0.00023d; double b = 0.00029d; boolean eq = (a == b); is slow. So I'm using double epsilon = 0....
mike's user avatar
  • 4,939
0 votes
1 answer
353 views

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 ...
user937720's user avatar
2 votes
1 answer
203 views

Infinitest does not run @Before{Method,Class} methods when more than one TestNG group is used

I created a sample Eclipse project that demonstrates that Infinitest skips setup methods annotated with Before{Method,Class}, see https://github.com/jaeckel/InfinitestSampleProject. Because of this my ...
Ingo's user avatar
  • 1,552
4 votes
0 answers
669 views

Infinitest with Eclipse 4 (Juno)

All, I've been trying to configure Infinitest (http://infinitest.github.com/) with Eclipse 4.2 (Juno). It seems to install correctly, however I can not get the status bar to show up and display ...
Joe's user avatar
  • 1,544
0 votes
1 answer
3k views

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 ...
Joishi Bodio's user avatar
4 votes
2 answers
434 views

Is it possible to specify which tests to choose from?

We have a vast amount of tests. We would like infinitest only to choose between tests that have been included in an .xml-file (i.e. a TestNG suite). We do not want to put the annotation groups = { "...
Susanne Siverland's user avatar
1 vote
1 answer
400 views

Infinitest 5.1.93 not compatible with Springsource Tool Suite 2.8 (Eclipse Indigo)?

In a Spring Roo project the tests fail but only when initiated from Infinitest running in Springsource Tool Suite 2.8.0 (STS). As Infinitest 5.1.93 fails to load the Spring context file all tests fail....
MiB's user avatar
  • 586
1 vote
3 answers
15k views

Is there a JVM command-line option to change directory?

In short, I want to know, is there a JVM command-line option to change the starting working directory? If it's important, I'm running jdk1.6.0_24. Background: I am using a tool called Robolectric ...
Jeff Axelrod's user avatar
  • 27.8k
3 votes
1 answer
313 views

Problem with Infinitest

I'm using infinitest the eclipse plug-in. but sometimes it just do not work. I have a test for a method a(). The method a() calls method b() which calls method c(). if I change the method b() it runs ...
fastcodejava's user avatar
  • 40.2k
3 votes
1 answer
802 views

Eclipse: infinitest vs. JUnit: character encoding

I'm using infinitest in Eclipse and I have a strange phenomenon in connection with JUnit. I have code that uses org.apache.http.HttpResponse.getEntity() and org.apache.http.entity.StringEntity. The ...
sjngm's user avatar
  • 12.5k
4 votes
2 answers
1k views

Infinitest and IDEA 10

Has anyone managed to get the new Infinitest open source version running in IntelliJ IDEA 10?
Theresia Sofia Snow's user avatar
10 votes
4 answers
3k views

How do I do continuous testing in .NET?

I'm using Infinitest for continuous testing when I do java development and i really miss the instant feedback when I develop in .nET How do I do continuous testing in C# & .NET? EDIT: I'm not ...
s3v1's user avatar
  • 2,923
2 votes
1 answer
374 views

Simple way to test requiring OSGI without lots of artefacts and dependencies

OSGI Testing frameworks - some observations. I am in the middle of writing a system that makes use of OSGI. However all of the popular testing frameworks (Spring-OSGI, PaxExam) require a lot of ...
mP.'s user avatar
  • 18.1k
8 votes
3 answers
202 views

Is edit-triggered testing the next step?

I have just read Michael C. Feathers great book Working Effectively with Legacy Code, the bible of introducing tests to legacy code. In this book he describes something called Edit-triggered testing: ...
BengtBe's user avatar
  • 4,465
2 votes
2 answers
318 views

Eclipse: mocking up the platform for testing

I am developing an Eclipse plugin and have tests for it. Some are regular JUnit tests, some are PDE tests (i.e. require starting an eclipse instance to be able to access eclipse internals). I wonder ...
Vlad Dumitrescu's user avatar
5 votes
3 answers
6k views

How do I use continuous integration with an Eclipse project?

I've been using maven2 and hudson for a while to do my continuous integration, but I find that Eclipse and Maven do not play well together. Sure there's a plugin, but it's cranky to mash the maven ...