How to disable JUnit Test Runner?

Hi,

1) How can I completely disable JUnit Test Runner for my build runner?

2) How to make JUnit Test Runner to run only classes under src_test directory?

5 comments

I am probably answering the wrong questions, but:

1) I don't see a direct JUnit test runner. If you are using the ant task, you have control over what is done in the build file, so you can disable it yourself - perhaps with a new teamcity target or using a property. Which build runner are you using? I am using TC2.0

2) Maybe I am missing something that TC can do... but otherwise it seems like the same answer as for 1).

HTH,
Chris

0

The question is related to IPR build runner. Sorry forgot to mention.

0

Please take a look at
http://www.jetbrains.net/confluence/display/TCD/ipr#ipr-JUnitTestRunnerSettings

You can specify a pattern which doesn't match to any JUnit test, I think this should help.

Regards,
KIR

0

Thanks.
Maybe it's simpler to make the field "Test patterns" empty?

0

I'm afraid, in this case default pattern :/Test.java will be used.

0

Please sign in to leave a comment.