Aug
13

Unit Testing the Metric Dashboard – Part 4

Author Eli Lopian    Category Unit Tests     Tags

Continuation of unit testing the Metric Dashboard.

Debugging via Unit Tests

Sometimes, it is necessary to debug our code from our unit tests. Having the unit tests are great as they setup the scenario for us. Here is what I saw when debugging a test.

image8

Then I remembered – the colored line around the method is a flag that the method is currently faked, that is great, I know exactly what is happening and can fix the bug quickly.

Bookmark and Share

2 Comments to “Unit Testing the Metric Dashboard – Part 4”

Post comment