Why kaocha dynamically add test files into classpath?

Why kaocha dynamically add test files into classpath?

Hi @darkleaf,

This is mainly so you only have to declare your test directories in one place. Kaocha needs to know your test directories in order to watch files for changes, or to do code coverage analysis. This way you don’t have to repeat that information in two places.

It’s also so that if you have multiple non-overlapping test suites, we only add the directories that are needed to the class path.