Selasa, 22 Maret 2011

6 Tips for Turbocharging Your Unit Testing

Who doesn't love making software run even better? Turbocharging, if you will. Here are Typemock developer's six tips for turbocharging Isolator. Need to simulate a fault? Just use Isolate.WhenCalled(...).WillThrow(new Exception()) with any method!Isolate.WhenCalled(...) uses Behavior Sequencing - use multiple expectations in sequence Isolate.Swap.AllInstances() affects both existing and future

Tidak ada komentar:

Posting Komentar