MutableTestCase addTestCase(String name)
TestCaseto this test file. Note that a same physical test (for example in Java a single method annotated with @Test) can be executed several times (parameterized tests, different test suites, ...). As a result it is perfectly valid to register several tests with the same name. Anyway in this situation the coverage per test will be merged for all tests with the same name.
Copyright © 2009–2017 SonarSource. All rights reserved.