Download JAR files tagged by junit with all dependencies
eclipse-update-site from group net.bpelunit (version 1.6.0)
Group: net.bpelunit Artifact: eclipse-update-site
Show all versions
Show all versions
There is no JAR file uploaded. A download is not possible! Please choose another version.
0 downloads
Artifact eclipse-update-site
Group net.bpelunit
Version 1.6.0
Last update 03. May 2012
Organization not specified
URL Not specified
License not specified
Dependencies amount 5
Dependencies framework, datasource-csv, datasource-excel, datasource-html, datasource-ods,
There are maybe transitive dependencies!
Group net.bpelunit
Version 1.6.0
Last update 03. May 2012
Organization not specified
URL Not specified
License not specified
Dependencies amount 5
Dependencies framework, datasource-csv, datasource-excel, datasource-html, datasource-ods,
There are maybe transitive dependencies!
eclipse-feature from group net.bpelunit (version 1.6.0)
Artifact eclipse-feature
Group net.bpelunit
Version 1.6.0
Last update 03. May 2012
Organization not specified
URL Not specified
License not specified
Dependencies amount 5
Dependencies framework, datasource-csv, datasource-excel, datasource-html, datasource-ods,
There are maybe transitive dependencies!
Group net.bpelunit
Version 1.6.0
Last update 03. May 2012
Organization not specified
URL Not specified
License not specified
Dependencies amount 5
Dependencies framework, datasource-csv, datasource-excel, datasource-html, datasource-ods,
There are maybe transitive dependencies!
eclipse-toolsupport from group net.bpelunit (version 1.6.0)
Artifact eclipse-toolsupport
Group net.bpelunit
Version 1.6.0
Last update 03. May 2012
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies framework,
There are maybe transitive dependencies!
Group net.bpelunit
Version 1.6.0
Last update 03. May 2012
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies framework,
There are maybe transitive dependencies!
eclipse-client from group net.bpelunit (version 1.6.0)
Artifact eclipse-client
Group net.bpelunit
Version 1.6.0
Last update 03. May 2012
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies framework,
There are maybe transitive dependencies!
Group net.bpelunit
Version 1.6.0
Last update 03. May 2012
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies framework,
There are maybe transitive dependencies!
twip from group net.sf.twip (version 3.3)
"Tests with Parameters" allows you to simply add parameters to your JUnit test methods.
TwiP calls such methods with all possible combinations of their parameters... or at least some
reasonable subset of commonly failing values in the case of Integers, etc. You can further
reduce these values with an assume expression in an annotation, e.g. ">= 0". Alternatively you can specify a static
method or field to provide the values for your test method(s), if you want to test with other than
the default values. By using TwiP you change the semantics of your tests from existence
to for-all quantifiers, i.e. you specify "all ravens are black" instead of "Abraxas is black", "Toni is black",
etc. This moves your tests closer to an executable specification, so TwiP is a very nice addition to BDD.
Artifact twip
Group net.sf.twip
Version 3.3
Last update 31. March 2011
Organization not specified
URL http://twip.sourceforge.net/
License Apache 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group net.sf.twip
Version 3.3
Last update 31. March 2011
Organization not specified
URL http://twip.sourceforge.net/
License Apache 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
xapi-gwt-api from group net.wetheinter (version 0.5)
All Gwt jre emulation code goes in this module,
as well as any gwt-compiler overrides.
xapi-gwt-api.jar must come before gwt-dev.jar on your compile classpath.
A plugin is being built to automatically adjust maven runtime dependencies,
but users of ant or IDEs will need to ensure the super jar comes before
gwt-dev. We will petition gwt to accept our mods, but, until then,
if you want bleeding edge features, you gotta do bleeding edge configuration.
Code that ties directly into other modules, like java.lang.reflect for
the reflection submodule, have their super-source here, and generators or
other implementations in their own modules.
This is to maintain consistency in what is or isn't whitelisted in XApi GWT.
Some modules, like appengine, provide dependency-specific super-source
in their own packages. This module is for jre, junit and core XApi services.
0 downloads
Artifact xapi-gwt-api
Group net.wetheinter
Version 0.5
Last update 30. May 2015
Organization not specified
URL WeTheInter.net
License not specified
Dependencies amount 13
Dependencies xapi-dev-source, xapi-dev-source, xapi-core-api, xapi-core-api, xapi-core-inject, xapi-core-inject, xapi-core-reflect, xapi-core-reflect, xapi-core-util, xapi-core-util, javax.inject, validation-api, validation-api,
There are maybe transitive dependencies!
Group net.wetheinter
Version 0.5
Last update 30. May 2015
Organization not specified
URL WeTheInter.net
License not specified
Dependencies amount 13
Dependencies xapi-dev-source, xapi-dev-source, xapi-core-api, xapi-core-api, xapi-core-inject, xapi-core-inject, xapi-core-reflect, xapi-core-reflect, xapi-core-util, xapi-core-util, javax.inject, validation-api, validation-api,
There are maybe transitive dependencies!
randoop from group net.sourceforge.javydreamercsw (version 1.3.2)
Randoop is an automatic unit test generator for Java. It automatically creates unit tests for your classes, in JUnit format.
Randoop generates unit tests using feedback-directed random test generation. In a nutshell, this technique randomly, but smartly, generates sequences of methods and constructor invocations for the classes under test, and uses the sequences to create tests. Randoop executes the sequences it creates, using the results of the execution to create assertions that capture the behavior or your program and that catch bugs.
Randoop has created tests that find previously unkwon errors even in widely-used libraries including Sun and IBM's JDKs. A .NET version of Randoop, used internally at Microsoft, has been used successfully by a team of test engineers to find errors in a core .NET component that has been heavily tested for years. Randoop's combination of randomized test generation and test execution results in a highly effective test generation technique.
Artifact randoop
Group net.sourceforge.javydreamercsw
Version 1.3.2
Last update 05. December 2012
Organization not specified
URL https://sourceforge.net/projects/randoopmplugin/
License MIT License
Dependencies amount 2
Dependencies manipulation, plume,
There are maybe transitive dependencies!
Group net.sourceforge.javydreamercsw
Version 1.3.2
Last update 05. December 2012
Organization not specified
URL https://sourceforge.net/projects/randoopmplugin/
License MIT License
Dependencies amount 2
Dependencies manipulation, plume,
There are maybe transitive dependencies!
superpom from group it.tidalwave.superpom (version 5.2)
[![Build
Status](https://drone.io/bitbucket.org/tidalwave/tidalwave-superpom-src/status.png)](https://drone.io/bitbucket.org/tidalwave/tidalwave-superpom-src/latest)
The super POM for all Tidalwave projects. It is not designed for being used by others, as it contains some corporate-specific configurations, but its
ancestor [TheseFooolishThings SuperPOM](http://bitbucket.org/tidalwave/thesefoolishthings-superpom-src) has been designed to be reusable. Please have a
look at it.
This super POM adds to its ancestor:
+ some Tidalwave variables that refers to the issue tracker, continuous integration system, etc...;
+ the definitions of versions of a number of commonly used libraries and their dependency management:
* [AspectJ](https://www.eclipse.org/aspectj)
* [Hamcrest Matchers](http://hamcrest.org/JavaHamcrest)
* [JSR 330](https://github.com/google/guice/wiki/JSR330)
* [Jakarta XML Binding (JAXB)](https://eclipse-ee4j.github.io/jaxb-ri/)
* [Spotbugs annotations](https://spotbugs.readthedocs.io)
* [JUnit](https://junit.org/junit5)
* [Logback](http://logback.qos.ch)
* [Lombok](https://projectlombok.org)
* [SLF4J](slf4j.org)
* [Spring 5](https://spring.io/projects/spring-framework)
* [TestNG](https://testng.org)
+ the definition for Tidalwave 3rd party repository (stuff that is not available on Maven Central);
+ a profile for using the [TheseFoolishThings](http://tidalwave.it/projects/thesefoolishthings) Event Bus (```it.tidalwave-spring-messagebus-v1```);
+ profiles for the [Mycila License plugin](https://github.com/mycila/license-maven-plugin);
+ configuration of the UMLGraphDoc maven plugin;
+ the configuration for the TheseFoolishThings TestNG listener (which provides enhanced test logging);
+ definitions of some custom javadoc tags;
+ a blacklist for some old artifacts;
+ some other minor customisations.
Group: it.tidalwave.superpom Artifact: superpom
Show all versions
Show all versions
There is no JAR file uploaded. A download is not possible! Please choose another version.
0 downloads
Artifact superpom
Group it.tidalwave.superpom
Version 5.2
Last update 01. May 2023
Organization not specified
URL http://tidalwave.it/projects
License not specified
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group it.tidalwave.superpom
Version 5.2
Last update 01. May 2023
Organization not specified
URL http://tidalwave.it/projects
License not specified
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
pact-jvm-consumer-java8_2.12 from group au.com.dius (version 3.6.15)
# pact-jvm-consumer-java8
Provides a Java8 lambda based DSL for use with Junit to build consumer tests.
# A Lambda DSL for Pact
This is an extension for the pact DSL provided by [pact-jvm-consumer](../pact-jvm-consumer). The difference between
the default pact DSL and this lambda DSL is, as the name suggests, the usage of lambdas. The use of lambdas makes the code much cleaner.
## Why a new DSL implementation?
The lambda DSL solves the following two main issues. Both are visible in the following code sample:
```java
new PactDslJsonArray()
.array() # open an array
.stringValue("a1") # choose the method that is valid for arrays
.stringValue("a2") # choose the method that is valid for arrays
.closeArray() # close the array
.array() # open an array
.numberValue(1) # choose the method that is valid for arrays
.numberValue(2) # choose the method that is valid for arrays
.closeArray() # close the array
.array() # open an array
.object() # now we work with an object
.stringValue("foo", "Foo") # choose the method that is valid for objects
.closeObject() # close the object and we're back in the array
.closeArray() # close the array
```
### The existing DSL is quite error-prone
Methods may only be called in certain states. For example `object()` may only be called when you're currently working on an array whereas `object(name)`
is only allowed to be called when working on an object. But both of the methods are available. You'll find out at runtime if you're using the correct method.
Finally, the need for opening and closing objects and arrays makes usage cumbersome.
The lambda DSL has no ambiguous methods and there's no need to close objects and arrays as all the work on such an object is wrapped in a lamda call.
### The existing DSL is hard to read
When formatting your source code with an IDE the code becomes hard to read as there's no indentation possible. Of course, you could do it by hand but we want auto formatting!
Auto formatting works great for the new DSL!
```java
array.object((o) -> {
o.stringValue("foo", "Foo"); # an attribute
o.stringValue("bar", "Bar"); # an attribute
o.object("tar", (tarObject) -> { # an attribute with a nested object
tarObject.stringValue("a", "A"); # attribute of the nested object
tarObject.stringValue("b", "B"); # attribute of the nested object
})
});
```
## Installation
### Maven
```
<dependency>
<groupId>au.com.dius</groupId>
<artifactId>pact-jvm-consumer-java8</artifactId>
<version>${pact.version}</version>
</dependency>
```
## Usage
Start with a static import of `LambdaDsl`. This class contains factory methods for the lambda dsl extension.
When you come accross the `body()` method of `PactDslWithProvider` builder start using the new extensions.
The call to `LambdaDsl` replaces the call to instance `new PactDslJsonArray()` and `new PactDslJsonBody()` of the pact library.
```java
io.pactfoundation.consumer.dsl.LambdaDsl.*
```
### Response body as json array
```java
import static io.pactfoundation.consumer.dsl.LambdaDsl.newJsonArray;
...
PactDslWithProvider builder = ...
builder.given("some state")
.uponReceiving("a request")
.path("/my-app/my-service")
.method("GET")
.willRespondWith()
.status(200)
.body(newJsonArray((a) -> {
a.stringValue("a1");
a.stringValue("a2");
}).build());
```
### Response body as json object
```java
import static io.pactfoundation.consumer.dsl.LambdaDsl.newJsonBody;
...
PactDslWithProvider builder = ...
builder.given("some state")
.uponReceiving("a request")
.path("/my-app/my-service")
.method("GET")
.willRespondWith()
.status(200)
.body(newJsonBody((o) -> {
o.stringValue("foo", "Foo");
o.stringValue("bar", "Bar");
}).build());
```
### Examples
#### Simple Json object
When creating simple json structures the difference between the two approaches isn't big.
##### JSON
```json
{
"bar": "Bar",
"foo": "Foo"
}
```
##### Pact DSL
```java
new PactDslJsonBody()
.stringValue("foo", "Foo")
.stringValue("bar", "Bar")
```
##### Lambda DSL
```java
newJsonBody((o) -> {
o.stringValue("foo", "Foo");
o.stringValue("bar", "Bar");
}).build()
```
#### An array of arrays
When we come to more complex constructs with arrays and nested objects the beauty of lambdas become visible!
##### JSON
```json
[
["a1", "a2"],
[1, 2],
[{"foo": "Foo"}]
]
```
##### Pact DSL
```java
new PactDslJsonArray()
.array()
.stringValue("a1")
.stringValue("a2")
.closeArray()
.array()
.numberValue(1)
.numberValue(2)
.closeArray()
.array()
.object()
.stringValue("foo", "Foo")
.closeObject()
.closeArray()
```
##### Lambda DSL
```java
newJsonArray((rootArray) -> {
rootArray.array((a) -> a.stringValue("a1").stringValue("a2"));
rootArray.array((a) -> a.numberValue(1).numberValue(2));
rootArray.array((a) -> a.object((o) -> o.stringValue("foo", "Foo"));
}).build()
```
Group: au.com.dius Artifact: pact-jvm-consumer-java8_2.12
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact pact-jvm-consumer-java8_2.12
Group au.com.dius
Version 3.6.15
Last update 29. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 9
Dependencies kotlin-stdlib-jre8, kotlin-reflect, slf4j-api, groovy-all, kotlin-logging, scala-library, scala-compiler, scala-logging_2.12, pact-jvm-consumer-junit_2.12,
There are maybe transitive dependencies!
Group au.com.dius
Version 3.6.15
Last update 29. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 9
Dependencies kotlin-stdlib-jre8, kotlin-reflect, slf4j-api, groovy-all, kotlin-logging, scala-library, scala-compiler, scala-logging_2.12, pact-jvm-consumer-junit_2.12,
There are maybe transitive dependencies!
pact-jvm-provider-junit5-spring from group au.com.dius (version 4.0.10)
# Pact Spring/JUnit5 Support
This module extends the base [Pact JUnit5 module](../pact-jvm-provider-junit5). See that for more details.
For writing Spring Pact verification tests with JUnit 5, there is an JUnit 5 Invocation Context Provider that you can use with
the `@TestTemplate` annotation. This will generate a test for each interaction found for the pact files for the provider.
To use it, add the `@Provider` and `@ExtendWith(SpringExtension.class)` and one of the pact source annotations to your test class (as per a JUnit 5 test), then
add a method annotated with `@TestTemplate` and `@ExtendWith(PactVerificationSpringProvider.class)` that
takes a `PactVerificationContext` parameter. You will need to call `verifyInteraction()` on the context parameter in
your test template method.
For example:
```java
@ExtendWith(SpringExtension.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
@Provider("Animal Profile Service")
@PactBroker
public class ContractVerificationTest {
@TestTemplate
@ExtendWith(PactVerificationSpringProvider.class)
void pactVerificationTestTemplate(PactVerificationContext context) {
context.verifyInteraction();
}
}
```
You will now be able to setup all the required properties using the Spring context, e.g. creating an application
YAML file in the test resources:
```yaml
pactbroker:
host: your.broker.host
auth:
username: broker-user
password: broker.password
```
You can also run pact tests against `MockMvc` without need to spin up the whole application context which takes time
and often requires more additional setup (e.g. database). In order to run lightweight tests just use `@WebMvcTest`
from Spring and `MockMvcTestTarget` as a test target before each test.
For example:
```java
@WebMvcTest
@Provider("myAwesomeService")
@PactBroker
class ContractVerificationTest {
@Autowired
private MockMvc mockMvc;
@TestTemplate
@ExtendWith(PactVerificationInvocationContextProvider.class)
void pactVerificationTestTemplate(PactVerificationContext context) {
context.verifyInteraction();
}
@BeforeEach
void before(PactVerificationContext context) {
context.setTarget(new MockMvcTestTarget(mockMvc));
}
}
```
You can also use `MockMvcTestTarget` for tests without spring context by providing the controllers manually.
For example:
```java
@Provider("myAwesomeService")
@PactFolder("pacts")
class MockMvcTestTargetStandaloneMockMvcTestJava {
@TestTemplate
@ExtendWith(PactVerificationInvocationContextProvider.class)
void pactVerificationTestTemplate(PactVerificationContext context) {
context.verifyInteraction();
}
@BeforeEach
void before(PactVerificationContext context) {
MockMvcTestTarget testTarget = new MockMvcTestTarget();
testTarget.setControllers(new DataResource());
context.setTarget(testTarget);
}
@RestController
static class DataResource {
@GetMapping("/data")
@ResponseStatus(HttpStatus.NO_CONTENT)
void getData(@RequestParam("ticketId") String ticketId) {
}
}
}
```
**Important:** Since `@WebMvcTest` starts only Spring MVC components you can't use `PactVerificationSpringProvider`
and need to fallback to `PactVerificationInvocationContextProvider`
Group: au.com.dius Artifact: pact-jvm-provider-junit5-spring
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact pact-jvm-provider-junit5-spring
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Page 195 from 3 (items total 1982)