Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 816 Bytes

readme.md

File metadata and controls

24 lines (16 loc) · 816 Bytes

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