Can TeamCity do this as part of delayed commit validation?

Can you setup the delayed commit validation so that it requires a configured percentage of unit test code coverage specifically on new/changed code before accepting the commit?

Thanks,
Jon

2 comments

Jon,

There is no such built-in feature right now, but I guess it is possible to implement this via custom plugin to TeamCity. The build runner should just check the coverage for relevant code and fail the build if it is not sufficient.

This seems to be quite a good suggestion to include into the TeamCity core some day. Please file a request into Jira so that everyone interested can vote for it.

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Message was edited by:
Yegor Yarko (JetBrains)

0

Hi Yegor,

Here's the newly created feature request:
http://www.jetbrains.net/jira/browse/TW-2875

Thanks,
Jon

0

Please sign in to leave a comment.