Jukito
Jukito copied to clipboard
The combined power of JUnit, Guice and Mockito. Plus it sounds like a cool martial art.
Using `ExpectedException` to test for expected exception does not work as intended, as Jukito's `InjectedAfterStatements.evaluate()` wraps and rethrows all exceptions as `org.junit.internal.runners.model.MultipleFailureException.MultipleFailureException(List)` This behavior would be ok for multiple exceptions,...
[JUnit 5](https://github.com/junit-team/junit5) introduces a new [extension mechanism](http://junit.org/junit5/docs/current/user-guide/#extensions). It would be nice if there was a `JukitoExtension` for JUnit 5. Is there any interest in officially supporting JUnit 5?
Here's a minimal failing project: https://github.com/slayful/minimal-jukito-gradle-5.1-failing-project I'm suspecting there's an issue when generating test cases or their names, maybe. Here's the stack trace with the issue. ``` java.lang.AssertionError at org.gradle.api.internal.tasks.testing.processors.TestOutputRedirector.setOutputOwner(TestOutputRedirector.java:49)...
I am trying to create a test where I have a @UseModules on a test mode to setup a dependency different from other test methods. But as a consequence objects...
Hi, I've been investigating [an issue](https://github.com/Netflix/archaius/issues/475) with archaius2 & Jukito, where a configuration injected into a component that is initialised by Jukito is provided to the wrong test. The symptom...
To demonstrate the problem, I made a toy project with these classes: ``` @Singleton public class InjectedClass { private static int instanceCount = 0; public InjectedClass() { instanceCount++; } }...
Instead of ``` public static Module extends TestModule { protected void configureTest() { bindMany(SomeInterface.class, Impl1.class, Impl2.class); } } ... @Test someTest(@All SomeInterface interface) { ... } ``` I would like...
http://dev.arcbees.com/jukito/ - What are DOC and SUT? - The Examples section has the text "link" several times, but it's not actually a link
Hi, There is already an issue open to have Jukito work with Groovy tests. But, this request is for having Jukito work with Spock tests. If need be I can...
bindMany and All annotation doesn't permit to setup up the binded instance with a before annotated method. The following code demonstrate the use case: ``` java import org.jukito.All; import org.jukito.JukitoModule;...