Suggestion of how to manage the test datas - http://jchyip.blogspot.com/2008/07/citcon-melbourne-2008-managing-test.html Difference Pattern of managing test datas - http://adrianmowat.blogspot.com/2010/09/fundamentals-of-data-testing-setup-and.html How to get the data feed and design automated test trading system - http://howtohft.wordpress.com/2011/02/16/trading-system-testability/ False assumption about time - http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time Create your own clock - http://ducktypo.blogspot.hk/2013/12/the-virtual-clock-test-pattern.html Just change the return of Calendar - http://octodecillion.com/blog/mock-date-time-using-jmockit/ Discussion about creating test data - http://blog.codeleak.pl/2014/06/test-data-builders-and-object-mother.html http://www.petrikainulainen.net/programming/testing/writing-tests-for-data-access-code-unit-tests-are-waste/ Dummy, fake, stub, spy and mock - http://letstalkaboutjava.blogspot.hk/2015/09/test-double-patterns.html http://www.shaunabram.com/test-doubles/ Generation of test data - http://filldb.info/ http://www.softwaretestingmagazine.com/tools/open-source-test-data-generators/ Using test container, and compare it with other test data solution - http://www.objectify.be/wordpress/2017/03/28/database-testing-with-testcontainers/ https://www.testcontainers.org/