Skip to content

opentestingapi/impl_java_testcontainers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

impl_java_testcontainers

start impl_java as testcontainer to execute test cases with JUnit

Using this approach it is possible to execute existing test cases during maven build.

ATTENTION: the automation will simply execute the first available inject! It can be changed here: https://github.com/opentestingapi/impl_java_testcontainers/blob/main/stagesupport/execution1/src/test/java/com/example/demo/systemtest/util/OpenTestingApiTester.java#L152

Here you can find the interesting stuff with auto-detecting of created test cases:

simple (folder "simple")

Test Class

mvn clean install

different environments / templating (folder "stagesupport")

Features:

Test Class

mvn test -Psystemtest

mvn test -Penv1

mvn test -Penv2

(Testcontainers sometimes fails if containers are not available locally and pull takes to long - you should pull them manually before...)

Example Testing

arch

You can also use it to test a set applications, the same approcach could be used with reduced phases.

About

start impl_java as testcontainer to execute test cases with JUnit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors