Skip to content

QAJungle/isolated-test-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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