All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Download JAR files tagged by fixture with all dependencies


json-fixtures-lib from group ie.corballis (version 4.0.0)

Group: ie.corballis Artifact: json-fixtures-lib
Show all versions Show documentation Show source 
Download json-fixtures-lib.jar (4.0.0)
 

2 downloads
Artifact json-fixtures-lib
Group ie.corballis
Version 4.0.0
Last update 25. September 2023
Organization not specified
URL Not specified
License not specified
Dependencies amount 10
Dependencies jackson-core, jackson-databind, guava, reflections, slf4j-api, commons-io, hamcrest-all, junit, fest-assert-core, hamcrest-json,
There are maybe transitive dependencies!

json-fixtures-intellij from group ie.corballis (version 4.0.0)

Group: ie.corballis Artifact: json-fixtures-intellij
Show all versions Show documentation Show source 
Download json-fixtures-intellij.jar (4.0.0)
 

0 downloads
Artifact json-fixtures-intellij
Group ie.corballis
Version 4.0.0
Last update 25. September 2023
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies json-fixtures-lib,
There are maybe transitive dependencies!

cdi-fixtures from group ch.dvbern.oss.cdifixtures (version 1.0.6)

Group: ch.dvbern.oss.cdifixtures Artifact: cdi-fixtures
Show documentation Show source 
Download cdi-fixtures.jar (1.0.6)
 

0 downloads
Artifact cdi-fixtures
Group ch.dvbern.oss.cdifixtures
Version 1.0.6


fitnesse-selenium-slim from group com.mpobjects (version 1.2.0)

FitNesse Selenium fixture in slim format. Allows running selenium commands similar to firefox IDE plugin.

Group: com.mpobjects Artifact: fitnesse-selenium-slim
Show all versions Show documentation Show source 
Download fitnesse-selenium-slim.jar (1.2.0)
 

0 downloads
Artifact fitnesse-selenium-slim
Group com.mpobjects
Version 1.2.0
Last update 31. July 2018
Organization not specified
URL https://github.com/mpobjects/fitnesse-selenium-slim
License The MIT License (MIT)
Dependencies amount 5
Dependencies fitnesse, selenium-java, commons-lang3, commons-io, reflections,
There are maybe transitive dependencies!

fitnesse-selenium-slim from group com.github.andreptb (version 1.0.3)

FitNesse Selenium fixture in slim format. Allows running selenium commands similar to firefox IDE plugin.

Group: com.github.andreptb Artifact: fitnesse-selenium-slim
Show all versions Show documentation Show source 
Download fitnesse-selenium-slim.jar (1.0.3)
 

0 downloads
Artifact fitnesse-selenium-slim
Group com.github.andreptb
Version 1.0.3
Last update 29. December 2016
Organization not specified
URL https://github.com/andreptb/fitnesse-selenium-slim
License The MIT License (MIT)
Dependencies amount 5
Dependencies fitnesse, selenium-java, commons-io, reflections, httpclient,
There are maybe transitive dependencies!

fitnesse-jdbc-slim from group com.github.andreptb (version 0.0.2)

Group: com.github.andreptb Artifact: fitnesse-jdbc-slim
Show documentation Show source 
Download fitnesse-jdbc-slim.jar (0.0.2)
 

6 downloads
Artifact fitnesse-jdbc-slim
Group com.github.andreptb
Version 0.0.2


jexample from group net.sf.jexample (version 4.4-378)

JExample is an extensions of JUnit that improves defect localizaton by changing the way you structure your tests. It introduces first-class dependencies. If test B depends on A, the return value of A can be used as B's fixture. And if A test fails, B and all other dependees of A are skipped and marked as white. We show in an empirical study that JExample improves performance and defect localization.

Group: net.sf.jexample Artifact: jexample
Show documentation Show source 
Download jexample.jar (4.4-378)
 

0 downloads
Artifact jexample
Group net.sf.jexample
Version 4.4-378
Last update 19. July 2011
Organization Software Composition Group
URL http://www.iam.unibe.ch/~scg/Research/JExample
License Common Public License Version 1.0 (CPL)
Dependencies amount 1
Dependencies junit,
There are maybe transitive dependencies!

smartrics-RestFixture from group smartrics.restfixture (version 4.4)

The RestFixture is a FitNesse (http://fitnesse.org) fixture that allows developers and/or product owners to write test fixtures for REST services with simplicity in mind. The idea is to write tests that are self documenting and easy to write and read, without the need to write Java code. The fixture allows test writers to express tests as actions (any of the allowed HTTP methods) to operate on resource URIs and express expectations on the content of the return code, headers and body. All without writing one single line of Java code. And it also works as a living/executable documentation of the API.

Group: smartrics.restfixture Artifact: smartrics-RestFixture
Show all versions Show documentation Show source 
Download smartrics-RestFixture.jar (4.4)
 

46 downloads
Artifact smartrics-RestFixture
Group smartrics.restfixture
Version 4.4
Last update 31. January 2017
Organization smartrics
URL https://github.com/smartrics/RestFixture
License GNU LESSER GENERAL PUBLIC LICENSE
Dependencies amount 6
Dependencies fitnesse, smartrics-RestClient, rhino, jettison, xstream, slf4j-api,
There are maybe transitive dependencies!

pact-jvm-provider_2.12 from group au.com.dius (version 3.6.15)

Pact provider ============= sub project of https://github.com/DiUS/pact-jvm The pact provider is responsible for verifying that an API provider adheres to a number of pacts authored by its clients This library provides the basic tools required to automate the process, and should be usable on its own in many instances. Framework and build tool specific bindings will be provided in separate libraries that build on top of this core functionality. ### Provider State Before each interaction is executed, the provider under test will have the opportunity to enter a state. Generally the state maps to a set of fixture data for mocking out services that the provider is a consumer of (they will have their own pacts) The pact framework will instruct the test server to enter that state by sending: POST "${config.stateChangeUrl.url}/setup" { "state" : "${interaction.stateName}" } ### An example of running provider verification with junit This example uses Groovy, JUnit 4 and Hamcrest matchers to run the provider verification. As the provider service is a DropWizard application, it uses the DropwizardAppRule to startup the service before running any test. **Warning:** It only grabs the first interaction from the pact file with the consumer, where there could be many. (This could possibly be solved with a parameterized test) ```groovy class ReadmeExamplePactJVMProviderJUnitTest { @ClassRule public static TestRule startServiceRule = new DropwizardAppRule<DropwizardConfiguration>( TestDropwizardApplication.class, ResourceHelpers.resourceFilePath("dropwizard/test-config.yaml")) private static ProviderInfo serviceProvider private static Pact<RequestResponseInteraction> testConsumerPact private static ConsumerInfo consumer @BeforeClass static void setupProvider() { serviceProvider = new ProviderInfo("Dropwizard App") serviceProvider.setProtocol("http") serviceProvider.setHost("localhost") serviceProvider.setPort(8080) serviceProvider.setPath("/") consumer = new ConsumerInfo() consumer.setName("test_consumer") consumer.setPactSource(new UrlSource( ReadmeExamplePactJVMProviderJUnitTest.getResource("/pacts/zoo_app-animal_service.json").toString())) testConsumerPact = PactReader.loadPact(consumer.getPactSource()) as Pact<RequestResponseInteraction> } @Test void runConsumerPacts() { // grab the first interaction from the pact with consumer Interaction interaction = testConsumerPact.interactions.get(0) // setup the verifier ProviderVerifier verifier = setupVerifier(interaction, serviceProvider, consumer) // setup any provider state // setup the client and interaction to fire against the provider ProviderClient client = new ProviderClient(serviceProvider, new HttpClientFactory()) Map<String, Object> failures = new HashMap<>() verifier.verifyResponseFromProvider(serviceProvider, interaction, interaction.getDescription(), failures, client) if (!failures.isEmpty()) { verifier.displayFailures(failures) } // Assert all good assertThat(failures, is(empty())) } private ProviderVerifier setupVerifier(Interaction interaction, ProviderInfo provider, ConsumerInfo consumer) { ProviderVerifier verifier = new ProviderVerifier() verifier.initialiseReporters(provider) verifier.reportVerificationForConsumer(consumer, provider) if (!interaction.getProviderStates().isEmpty()) { for (ProviderState providerState: interaction.getProviderStates()) { verifier.reportStateForInteraction(providerState.getName(), provider, consumer, true) } } verifier.reportInteractionDescription(interaction) return verifier } } ``` ### An example of running provider verification with spock This example uses groovy and spock to run the provider verification. Again the provider service is a DropWizard application, and is using the DropwizardAppRule to startup the service. This example runs all interactions using spocks Unroll feature ```groovy class ReadmeExamplePactJVMProviderSpockSpec extends Specification { @ClassRule @Shared TestRule startServiceRule = new DropwizardAppRule<DropwizardConfiguration>(TestDropwizardApplication, ResourceHelpers.resourceFilePath('dropwizard/test-config.yaml')) @Shared ProviderInfo serviceProvider ProviderVerifier verifier def setupSpec() { serviceProvider = new ProviderInfo('Dropwizard App') serviceProvider.protocol = 'http' serviceProvider.host = 'localhost' serviceProvider.port = 8080 serviceProvider.path = '/' serviceProvider.hasPactWith('zoo_app') { pactSource = new FileSource(new File(ResourceHelpers.resourceFilePath('pacts/zoo_app-animal_service.json'))) } } def setup() { verifier = new ProviderVerifier() } def cleanup() { // cleanup provider state // ie. db.truncateAllTables() } def cleanupSpec() { // cleanup provider } @Unroll def "Provider Pact - With Consumer #consumer"() { expect: verifyConsumerPact(consumer).empty where: consumer << serviceProvider.consumers } private Map verifyConsumerPact(ConsumerInfo consumer) { Map failures = [:] verifier.initialiseReporters(serviceProvider) verifier.runVerificationForConsumer(failures, serviceProvider, consumer) if (!failures.empty) { verifier.displayFailures(failures) } failures } } ```

Group: au.com.dius Artifact: pact-jvm-provider_2.12
Show all versions Show documentation Show source 
Download pact-jvm-provider_2.12.jar (3.6.15)
 

3 downloads
Artifact pact-jvm-provider_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 8
Dependencies pact-jvm-model, pact-jvm-pact-broker, pact-jvm-matchers_2.12, commons-io, jansi, httpclient, reflections, scala-java8-compat_2.12,
There are maybe transitive dependencies!

pact-jvm-provider from group au.com.dius (version 4.0.10)

Pact provider ============= sub project of https://github.com/DiUS/pact-jvm The pact provider is responsible for verifying that an API provider adheres to a number of pacts authored by its clients This library provides the basic tools required to automate the process, and should be usable on its own in many instances. Framework and build tool specific bindings will be provided in separate libraries that build on top of this core functionality. ### Provider State Before each interaction is executed, the provider under test will have the opportunity to enter a state. Generally the state maps to a set of fixture data for mocking out services that the provider is a consumer of (they will have their own pacts) The pact framework will instruct the test server to enter that state by sending: POST "${config.stateChangeUrl.url}/setup" { "state" : "${interaction.stateName}" } ### An example of running provider verification with junit This example uses Groovy, JUnit 4 and Hamcrest matchers to run the provider verification. As the provider service is a DropWizard application, it uses the DropwizardAppRule to startup the service before running any test. **Warning:** It only grabs the first interaction from the pact file with the consumer, where there could be many. (This could possibly be solved with a parameterized test) ```groovy class ReadmeExamplePactJVMProviderJUnitTest { @ClassRule public static final TestRule startServiceRule = new DropwizardAppRule<DropwizardConfiguration>( TestDropwizardApplication, ResourceHelpers.resourceFilePath('dropwizard/test-config.yaml')) private static ProviderInfo serviceProvider private static Pact<RequestResponseInteraction> testConsumerPact private static ConsumerInfo consumer @BeforeClass static void setupProvider() { serviceProvider = new ProviderInfo('Dropwizard App') serviceProvider.setProtocol('http') serviceProvider.setHost('localhost') serviceProvider.setPort(8080) serviceProvider.setPath('/') consumer = new ConsumerInfo() consumer.setName('test_consumer') consumer.setPactSource(new UrlSource( ReadmeExamplePactJVMProviderJUnitTest.getResource('/pacts/zoo_app-animal_service.json').toString())) testConsumerPact = DefaultPactReader.INSTANCE.loadPact(consumer.getPactSource()) as Pact<RequestResponseInteraction> } @Test void runConsumerPacts() { // grab the first interaction from the pact with consumer Interaction interaction = testConsumerPact.interactions.get(0) // setup the verifier ProviderVerifier verifier = setupVerifier(interaction, serviceProvider, consumer) // setup any provider state // setup the client and interaction to fire against the provider ProviderClient client = new ProviderClient(serviceProvider, new HttpClientFactory()) Map<String, Object> failures = new HashMap<>() verifier.verifyResponseFromProvider(serviceProvider, interaction, interaction.getDescription(), failures, client) // normally assert all good, but in this example it will fail assertThat(failures, is(not(empty()))) verifier.displayFailures(failures) } private ProviderVerifier setupVerifier(Interaction interaction, ProviderInfo provider, ConsumerInfo consumer) { ProviderVerifier verifier = new ProviderVerifier() verifier.initialiseReporters(provider) verifier.reportVerificationForConsumer(consumer, provider, new UrlSource('http://example.example')) if (!interaction.getProviderStates().isEmpty()) { for (ProviderState providerState: interaction.getProviderStates()) { verifier.reportStateForInteraction(providerState.getName(), provider, consumer, true) } } verifier.reportInteractionDescription(interaction) return verifier } } ``` ### An example of running provider verification with spock This example uses groovy and spock to run the provider verification. Again the provider service is a DropWizard application, and is using the DropwizardAppRule to startup the service. This example runs all interactions using spocks Unroll feature ```groovy class ReadmeExamplePactJVMProviderSpockSpec extends Specification { @ClassRule @Shared TestRule startServiceRule = new DropwizardAppRule<DropwizardConfiguration>(TestDropwizardApplication, ResourceHelpers.resourceFilePath('dropwizard/test-config.yaml')) @Shared ProviderInfo serviceProvider ProviderVerifier verifier def setupSpec() { serviceProvider = new ProviderInfo('Dropwizard App') serviceProvider.protocol = 'http' serviceProvider.host = 'localhost' serviceProvider.port = 8080 serviceProvider.path = '/' serviceProvider.hasPactWith('zoo_app') { consumer -> consumer.pactSource = new FileSource(new File(ResourceHelpers.resourceFilePath('pacts/zoo_app-animal_service.json'))) } } def setup() { verifier = new ProviderVerifier() } def cleanup() { // cleanup provider state // ie. db.truncateAllTables() } def cleanupSpec() { // cleanup provider } @Unroll def "Provider Pact - With Consumer #consumer"() { expect: !verifyConsumerPact(consumer).empty where: consumer << serviceProvider.consumers } private Map verifyConsumerPact(ConsumerInfo consumer) { Map failures = [:] verifier.initialiseReporters(serviceProvider) verifier.runVerificationForConsumer(failures, serviceProvider, consumer) if (!failures.empty) { verifier.displayFailures(failures) } failures } } ```

Group: au.com.dius Artifact: pact-jvm-provider
Show all versions Show documentation Show source 
Download pact-jvm-provider.jar (4.0.10)
 

0 downloads
Artifact pact-jvm-provider
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 8
Dependencies commons-io, jansi, httpclient, pact-jvm-core-model, pact-jvm-core-pact-broker, pact-jvm-core-matchers, pact-jvm-core-support, arrow-core-extensions,
There are maybe transitive dependencies!



Page 7 from 8 (items total 76)


© 2015 - 2024 Weber Informatics LLC | Privacy Policy