You can use the [Category] attribute. If you flag tests for release only using [Category("Release")] , then exclude this category in your regular test run and include it in your release.
So now your test will become
[Test] [Category("Release")] public void MyReleaseOnlyTest() {
Mike two
source share