I am new to TDD/unit testing.
I am going to write a complex scheduling algorithm in Java. As this module is a core part of our application and there are number of scenarios in it, I want to write unit-test cases for every case.
To compute this schedule, I need to interact with 25-30 entities and each entity, on average, has 10 fields.
Building such huge data for each test cases (maybe I can re-use some of the basic entity data), seems like a exhausting task.
My question is, how do other people solve this problem ?
PS: I want to avoid reading data from database as that would create a dependency.