Skip to content

Latest commit

 

History

History

lab04

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Lab 04 - testing basics

Topics

  • How to write unit tests using JUnit.

  • How to write integration (module) tests using Spring Test Framework.

Instructions

  1. Enable Merchant to store a PaybackPolicy.

  2. Unit test Merchants logic using provided stub in MerchantTest.

  3. Run all tests to find integration points that need correcting.

  4. Fix JdbcMerchantRepository by providing appropriate policy identified by name among PaybackPolices.

  5. Improve PaybackBookKeeperModuleTest using supporting classes from Spring Test Framework.

Back to index