Differences Between Test Runners; Mouse, Monitors & Keyboard Shortcuts

by Kofi Sarfo 22. October 2009 06:20

Differences

It was more than a little odd to see tests pass using the ReSharper Test Runner but fail when using either NUnit or the as yet mystery default option (whichever is used when Test With > Debugger is selected from the context menu).

Test with DebuggerReason being that ReSharper is kind enough to run the tests in the order they appear whilst the others do so in alphabetic order. Dependencies between tests become apparent. Slaps to the forehead are delivered. We resolve to steer clear of using statics for unit testing.

Mouse

With only one monitor at work - everyone has just the one monitor so we're not too keen on standing out for being flash by having two monitors! - it would be handy having test results appear in the status bar using an ALT-T shortcut and TestDriven.NET. However, licensing! So it's tabbed Unit Test Sessions and CTRL-TAB until we're in the promise land.

Keyboard Shortcuts

Also, it turns out the the advertisement for going mouseless is true. Keeping the hands on the keyboard does indeed speed up coding. The next problem then was trying to access the Debug Tooltips (available ordinarily by hovering the mouse over variables). The solution is AutoHotkey and the script is courtesy of Rob Henry.

Kiva Loans

  • Dorcas

    Dorcas

    Poultry

    Requested loan: $375

    Amount raised: $0

    Meru, Kenya

    to buy seeds and fertilizer for her farm.

    Loan Now »

  • Klajdi

    Klajdi

    Higher education costs

    Requested loan: $1475

    Amount raised: $25

    Korce, Albania

    to pay for a training for constructions and installations at height so he will be secure while working.

    Loan Now »

  • Rigers

    Rigers

    Higher education costs

    Requested loan: $1950

    Amount raised: $0

    Pogradec, Albania

    to pay for a barista course, so he will be able to start offering this service at the the bar where he is actually being the waiter.

    Loan Now »

To see more entrepreneurs »

Make a loan to an entrepreneur across the globe for as little as $25. Kiva is the world's first online lending platform connecting online lenders to entrepreneurs across the globe.