Preserve Variables Between Unit Tests

Paulund is full of premium tutorials and support to help with your development

Sign up to get full access to all tutorials.

Get Started

Login to your account


Although not strictly unit testing but more functional testing I've been in the situation where I've had to perform automated tests of database interactions. This could be by using a process of creating a record, getting the record and then deleting the record creating self clean up unit tests. The above scenario is always a problem in automated tests because you need to make sure that you are getting the correct created record on the deletion test. Therefore I needed a way of . . .

Get Started