I need to re-build to run unit test code.

I need to re-build to run unit test code every time except I don't change source code. If not, no items come up on Unit Test Session. So I'm annoying by this to run unit test. Please help me to fix this problem.

6 comments
Official comment

Hello!

 

Please note that unit tests from a project only appear in the window after the project is built. Tests from currently opened files are updated automatically, new tests from the opened files appear in the unit test explorer as soon as you create them. For more information, see working with unit tests in project or solution.

Thank you.

Thank you for replying and sorry for the delay. I just want to run unit tests without re-build by myself even though I change codes. That means projects should be re-built automatically every unit tests run. I can run unit tests unless I change but I cannot run unit tests after change some codes.

 

This pic is before change.

This pic is log I run unit tests after change.

And I cannot run unit tests more unless I re-build.

 

I thought I could before but now I cannot. Is this any settings cause or not?

 

Thank you, Katsuyama

0

Hello Katsuyama!

 

Could you please check what value is set in Unit Test session window, Options | Build Policy?

Thank you.

0

Here is. I tried to do both below but I still need to clean or re-build to run unit tests after change.

 

Thank you.

0

Now I can run unit test of Visual Studio tool but I cannot run resharper unit test tool completely even though after rebuild and clean solution...

0

Hello Akinori!

 

Could you please specify ReSharper version you are using?

Thank you.

0

Please sign in to leave a comment.