As there are several dependencies for light-eventuate-4j applications to run, it is a little complicated to test services built on top of light-eventuate-4j compare with other simple services.
In this section, we will walk through Unit Test, Integration Test and End-to-End Test with real examples so that others can learn what is the difference of each type of test and how to write these test ensure high quality services are produced.
Unit Test is located in /test folder in src and these test cases will have no external dependencies.
Integration Test is located in /integration folder in src and these test cases will have external dependencies.
End-to-End Test is normally locate in light-bot and it will run in an environment that all related services will be running at the same time.