So, is there another/better approach about 6 years later available or is still everyone writing his own tools/frameworks/testdrivers? And is there something equal available for mocking dependencies like mockito/jmockit in Java? Or how do you deal with dependencies?
Any thoughts about dealing with dependencies? Are there any out of the box (commercial, open source, …) solution for mocking them or mocking database access? We are trying to enable our developers to be able to write and run some sort of unit tests and therefore it would be necessary to mock specific dependencies to specifically focus on parts of the solution and not always “the whole system”.
All technics are using stub-moduls, not mocks. There is no mocking-Framework in NatUnit implemented.
A lot of unit-testing strategies you can’t use in Natural, so it took me a long time to find the best ones.
The biggest issue on unit-testing in Natural is not the tools, it is the mindset.
If you want to develop with unit test you have a complitly different way to design the natural moduls.
This is very frustrating in the beginning.