Hello Guys,
Embarking on my first adventures with Modules. I’m trying to understand how best to test them.
Putting the tests for a module into the standard app test folder doesn’t seem right, as the point of a module is that it’s portable, and I should be able to take it and drop it into any app, and the test should come with it.
But, there are also going to be certain components of my application which interact with the module, and those will need testing too.
My current thoughts are to have module specific unit tests inside the module folder, and integration tests for the specific application and the module in with the main app tests.
How do you guys handle testing for your modules?
Thanks,
Robert