@Deprecated public interface MutableTestPlan extends TestPlan<MutableTestCase>
Modifier and Type | Method and Description |
---|---|
MutableTestCase |
addTestCase(String name)
Deprecated.
Add a
TestCase to this test file. |
testCases, testCasesByName
MutableTestCase addTestCase(String name)
TestCase
to 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.name
- Copyright © 2009–2017 SonarSource. All rights reserved.