mendix / UnitTesting

Module to run Mendix and JUnit unit test inside a project
Apache License 2.0
7 stars 12 forks source link

Fix for the null pointer exception during tear down #22

Closed passalaqua closed 4 years ago

passalaqua commented 4 years ago

This was accidentally added in the previous PR.

In order to avoid future problems, I also added three extra test suites:

There's also a small page for each of these test suites to keep track that the data was correctly rolled back (in case it was selected) without having to open a db viewer.

As a last measure, I also make sure that the last step during tear down is to set the setupContext to null, in an attempt to isolate test runs from each other.