Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to test an architect project ? #31
The best way is to test the hole app...
this is a example
adding the test... i added a function to mainInit service
and a plugin
I would like to see how others are testing there stuff...
So I can't find a nice example of this, but the way architect is made you have one plugin say:
Now you can easily test this unit of work because you can mock all dependencies.
So you really test only this plugin. If you want to test between multiple plugins I'd write an integration test.