Learning Path Quality Control & Testing: stuck in Chapter 5 Unit testing

0
I’ve gone through all the steps, but perhaps I have overlooked something. In chapter 5.4 we’re asked to create a folder UnitTests. It doesn't say where this folder should be created. Perhaps this can be added. After creating all the micro flows and running the test Test_SaveExpense_Invalid should fail. However mine passes without fail. What might I be doing wrong? I am using Mendix version 8.16 SUB_Test_SaveExpense microflow:  
asked
1 answers
0

It looks like Test_SaveExpense_Invalid always returns true, so will pass. If you want the Unit Test to fail, you need to return false.

I’ve not done this particular unit, but I suspect you want it to return $Result which you get as the result from SUB_Test_SaveExpense.

answered