Recently we have had an issue where a unit test started to take 20+ minutes to run when on the build server.
I have now fixed that issue but I wondered if there was a way to fail the test when running a CI build on TFS server if a test reaches a certain time limit. I've looked at the Definition in TFS and the only timeout I can configure is the "Build job timeout in minutes" which is for the whole project. Currently this is 60 minutes.
What I am wanting is a "unit test timeout".
Can this be configured in TFS? or do I need to set it in my test settings for the solution?
Aucun commentaire:
Enregistrer un commentaire