// Arrange Act Assert

Jag Reehal on Agile Development, ASP.NET MVC, Silverlight and all manner of good stuff


A solution for the Resharper Test Runner not picking up your latest changes

Posted on | November 17, 2009 | No Comments

For a while now I thought there was a bug when using Resharper to run my unit tests.

Because my latest changes were not being picked up, I always had to build my solution first and then run the unit tests.

Not anymore.

Today a colleague showed me this ‘Build Settings’ option

Resharper Unit Test Runner Window



Selecting ‘Always Build’ makes sure the latest changes (even to config files) are used when running unit tests. The default is ‘Automatic’ as shown above.

Just be aware of the size of your solution will have an impact on how long the tests will take to run.

Comments

Leave a Reply