JGiven
JGiven copied to clipboard
Behavior-Driven Development in plain Java
Imagine, I have a multi-module maven project with several modules containing their JGiven tests. Now in a CI I want to generate a single report out of them. Currently, the...
Sometimes a test is required to repeat a step or a sequence of steps in order to simulate some real behavior. First I tried to use TestNG's invocationCount + threadPoolSize...
See https://stackoverflow.com/questions/44044898/jgiven-show-acceptance-test-running-line-by-line
Thank you for the Java11 example. If you would add ``` org.slf4j slf4j-api 1.8.0-beta2 ch.qos.logback logback-classic runtime 1.3.0-alpha4 ``` it would run free of failure messages out of the box.
When using Spring proxies as stages (as has been implemented in #254), INFO-level errors from CglibAopProxy show up when executing tests. To reproduce, run `com.tngtech.jgiven.integration.spring.test.proxy.SpringProxyTest` The following errors are displayed:...
Document how to configure JGiven using the `JGivenConfiguration` annotation.
By default JGiven resolves Stage fields by type, except for certain java packages that are resolved by name. This different resolution strategies might be confusing and it would be useful...
``` public abstract class RelatedToProjectSecurityTest> extends JAFCrudTestStage { (...) public abstract S user_creates_entity_of_$_related_to_$(Class> clazz, @Hidden SampleProject project) { return super.user_creates_entity(Project.class); } } } ``` When I execute ProjectSecurityTest, I expect...
JUnit 5 supports nested test classes with the `@Nested` annotation. For JGiven this raises the question of how to represent that in the HTML report. Any ideas are welcome!
- One for junit - One for testng - One for spring