[TRNSPRTPCE-717] Redo the JUnit tests of the OLM module Created: 11/Jan/23  Updated: 26/Sep/23  Resolved: 20/Sep/23

Status: Verified
Project: transportpce
Component/s: None
Affects Version/s: None
Fix Version/s: Chlorine, Argon

Type: Improvement Priority: Medium
Reporter: Gilles Thouenon Assignee: Gilles Thouenon
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 2 days
Original Estimate: 0 minutes


 Description   

Most of JUnit tests of OLM module need to be reviewed, and largely redone because:

  • their relevance is higly questionable from a business point of view
  • lots of redundancy (several tests test more or less nothing, or the same thing, while in different places...)
  • majority of them instanciate lots of dependent objects (with lots of writing in datastore what makes JUnit test execution being rather long) instead of mocking them
  • maintenance of this module becomes very difficult

Generated at Wed Feb 07 20:43:53 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.