Skip to content

Project about how can product acceptance testing (PAT) and system acceptance testing (SAT) look like.

License

Notifications You must be signed in to change notification settings

peterszatmary/pat-sat-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pat-sat-demo

Build Status

Project about how can product acceptance testing (PAT) and system acceptance testing (SAT) look like.

Product acceptance testing

For this testing all sources like ( database, sap, services ... ) are mocked. That is the only difference here in constrast to System acceptance testing.

System acceptance testing

For this testing all sources like ( database, sap, services ... ) are real (not mocked) to test real interactions between application and them.

Design

  • Spring Boot as main Java application technology
  • Cucumber as testing tool
  • Maven surefire plugin as plugin that runs separately all Product acceptance tests, separately all System acceptance tests and separately all any other tests.
  • Tests are running separately (PAT, SAT, other tests). Is good to have them not in application build lyfecycle because PAT and SAT can take a while and for application build are more imporant other test more close to development like unit tests ...

Main goals

  • With maven surefire and maven profiles is achieved separation of test runs ( PAT , SAT, otjer tests ).
  • SAT and PAT doesnt share code base. That is the reason why there are many similarities. But design is therefore very flexible.

Cucumber

How to run it

All SAT test separately.

mvn test -P SAT

All PAT test separately.

mvn test -P PAT

All other test with application except PAT nd SAT.

mvn package

About

Project about how can product acceptance testing (PAT) and system acceptance testing (SAT) look like.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published