Skip to content

QAJungle/isolated-test-examples

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Isolated & Integrated test samples

Sample project for the next talks.

Isolated & Integrated tests

Table of contents 📋

Back - Run and publish contract tests

  1. Build the project and publish to maven local repository.

     ./gradlew :back-test.infrastructure:publishToMavenLocal
    
  2. You can find the generated test for the contract in the src/contractTest/java directory.

  3. You can find the generated stub in your ~/.m2/repository/com/qajungle/talks/integratedandisolated/backtest/back-test.infrastructure/1.0-SNAPSHOT directory.

Back - Run integration tests

  1. Start Docker service.

  2. Run the integration test:

     ./gradlew :back-test.infrastructure:test --tests com.qajungle.talks.integratedandisolated.backtest.infrastructure.persistence.jpa.nobelPrize.JpaNobelPrizeRepositoryAdapterIntegrationTest
    

Back - Run E2E tests

INFO: Tkiero plugin has yet to be opened to the world
  1. Run TKiero task with local profile:

     ./gradlew clean build e2eTest -Pprofile=isolated
    

Front - Mount isolated environment

  1. To start run yarn command:

     yarn isolated:up
    
  2. To stop run yarn command:

     yarn isolated:down
    

Front - Run E2E tests

  1. To run E2E run yarn command:

     yarn e2eTest
    

About

Isolated test example project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published