Suggestions about Unittesting?

1
Hi all. After downloading Unittesting, I have tried use the examples. Have any people experience, how use the testing for scenario?
asked
3 answers
2

I have created tests for a module sending SMS-messages. The SMS provider sends a bunch of fault codes for different situations. In these unit tests I tested if the return codes I received matched the code which was expected in that particular test.

So create unit tests for situations you expect to pass and create unit tests for situations you expect to fail. This also helps you figuring out if you cover all use-cases for a specific scenario.

What kind of scenario would you like to create unit tests for?

answered
2

We created a how-to for the UnitTesting module: Testing microflows using the UnitTesting module.

answered
0

Example i want test the login microflow.

answered