Skip to content

mirekgab/springtransactions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of spring transactions.

How to run tests

  • clone the repository
git clone https://github.com/mirekgab/springtransactions.git
  • go into the directory
cd springtransactions/
  • run the test where the order is successful
./mvnw test -Dtest="OrderControllerIT#orderCompletedSuccessfully"
  • run the test where the order fails and throw an exception
./mvnw test -Dtest="OrderControllerIT#insufficientQuantityInOneOrderPosition"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages