Preserve Variables Between Unit Tests
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 . . .
Subscribe To Newsletter
Get weekly updates to your email