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

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