I’m creating a module in java which takes some samples over time and deduces some deducations. just a standard statistical model.
now in order to test it i need to generate some samples over time, and change them, and verify the results.. over time, and be able to assert that results match the varying samples over time, and change some base parameters run the same simualtions.
now instead of building such complex test cases by myself i was trying to search if there is already such a test library for java which can reduce the workload on such test cases, i couldn’t really find one… anyone aware of such a library? (if not for best practices?)
thanks
Look at Apache Math. There are many classes for statistics and they have unit tests which have data. There is also a class for generating random data: