Home | History | Annotate | Download | only in resources
      1 name: TestNG
      2 threadCount: 2
      3 parameters: { short: 47, parameter: out, char: c, byte: 43, first-name: Cedric, int: 42, string: Cedric, factory-param: FactoryParam, boolean: true, long: 46, double: 44.0, float: 45.0 }
      4 tests:
      5   - name: Nopackage
      6     includedGroups: [ nopackage ]
      7     classes:
      8       - NoPackageTest
      9 
     10   - name: Regression1
     11     excludedGroups: [ excludeThisGroup ]
     12     metaGroups: { evenodd: [ even, odd ]  }
     13     classes:
     14       - test.parameters.ParameterSample
     15       - test.parameters.ParameterTest
     16       - test.Test1
     17       - test.Test2
     18       - test.CtorCalledOnce
     19       - test.expectedexceptions.ExpectedExceptionsTest
     20       - test.access.PrivateAccessConfigurationMethods
     21       - test.expectedexceptions.WrappedExpectedException
     22       - test.parameters.OptionalParameterTest
     23 
     24   - name: Regression2
     25     excludedGroups: [ broken ]
     26     classes:
     27       - test.Test1
     28       - test.MethodTest
     29       - test.sample.AfterClassCalledAtEnd
     30       - test.GraphTest
     31       - test.DynamicGraphTest
     32       - test.configuration.BaseGroupsTest
     33       - test.configuration.BeforeClassThreadTest
     34       - test.configuration.BeforeTestOrderingTest
     35       - test.configuration.ConfigurationTest
     36       - test.configuration.ExternalConfigurationClass
     37       - test.configuration.GroupsTest
     38       - test.configuration.MethodCallOrderTest
     39       - test.configuration.MultipleBeforeGroupTest
     40       - test.configuration.ReflectMethodParametrizedConfigurationMethodTest
     41       - test.configuration.SuiteFactoryOnceTest
     42       - test.configuration.SuiteTest
     43       - test.configuration.VerifySuiteTest
     44       - test.privatemethod.PrivateMethodTest$PrivateMethodInnerTest
     45       - test.multiple.TestMultiple
     46       - test.ClassConfigurations
     47       - test.alwaysrun.AlwaysRunTest
     48       - test.conffailure.ConfigurationFailure
     49       - test.superclass.MainTest
     50       - test.superclass.Test3
     51       - test.failures.FailuresTest
     52       - test.mannotation.MAnnotationSampleTest
     53       - test.mannotation.MAnnotation2SampleTest
     54       - test.thread.ThreadPoolSizeTest
     55       - test.thread.SequentialTest
     56       - test.thread.ParallelTestTest
     57       - test.thread.FactoryTest
     58       - test.thread.DataProviderThreadPoolSizeTest
     59       - test.thread.MultiThreadedDependentTest
     60       - test.simple.IncludedExcludedTest
     61       - test.reports.ReportTest
     62       - test.annotationtransformer.AnnotationTransformerTest
     63       - test.jar.JarTest
     64       - test.xml.XmlVerifyTest
     65       - test.invokedmethodlistener.InvokedMethodListenerTest
     66       - test.testng249.VerifyTest
     67       - test.testng195.AfterMethodTest
     68       - test.regression.BeforeTestFailingTest
     69       - test.testng285.TestNG285Test
     70       - test.failedreporter.FailedReporterTest
     71       - test.attributes.AttributeTest
     72       - test.verify.VerifyTest
     73       - test.abstractconfmethod.C
     74       - test.issue78.NonPublicClassTest
     75       - test.listeners.ListenerTest
     76       - test.preserveorder.PreserveOrderTest
     77       - test.listeners.ResultEndMillisTest
     78 
     79   - name: Injection
     80     classes:
     81       - test.inject.InjectTestContextTest
     82       - test.inject.InjectBeforeMethodTest
     83       - test.inject.InjectTestResultTest
     84       - test.inject.InjectDataProviderTest
     85       - test.inject.NoInjectionTest
     86 
     87   - name: BeforeMethod
     88     classes:
     89       - test.configuration.BeforeMethodTest
     90 
     91   - name: Factory tests
     92     classes:
     93       - test.factory.classconf.XClassOrderWithFactoryTest
     94       - test.factory.FactoryInterleavingTest
     95 
     96   - name: Basic
     97     classes:
     98       - test.sample.Basic2
     99       - test.sample.Basic1
    100       - test.Misc
    101 
    102   - name: Exclusion
    103     excludedGroups: [ excludeThisGroup ]
    104     classes:
    105       - test.Test2
    106 
    107   - name: Dependents
    108     parameters: { foo: Cedric }
    109     classes:
    110       - test.dependent.MissingGroupTest
    111       - test.dependent.MissingMethodTest
    112       - test.dependent.OrderMethodTest
    113       - test.dependent.DependentTest
    114       - test.dependent.SampleDependentMethods
    115       - test.dependent.SampleDependentMethods2
    116       - test.dependent.SampleDependentMethods3
    117       - test.dependent.SampleDependentConfigurationMethods
    118       - test.dependent.ClassDependsOnGroups
    119       - test.dependent.DependentAlwaysRunTest
    120       - test.dependent.MultiGroupTest
    121       - test.dependent.ImplicitGroupInclusionTest
    122       - test.dependent.ClassWide1Test
    123       - test.dependent.ClassWide2Test
    124       - test.dependent.DepBugSampleTest
    125       - test.dependent.DepBugVerifyTest
    126       - test.dependent.DependsOnProtectedMethodTest
    127       - test.dependsongroup.DependsOnGroupsTest
    128 
    129   - name: Inheritance
    130     classes:
    131       - test.SampleInheritance
    132       - test.inheritance.ClassScopeTest
    133 
    134   - name: Test outer scope
    135     includedGroups: [ outer-group ]
    136     classes:
    137       - test.sample.Scope
    138 
    139   - name: Test inner scope
    140     parameters: { parameter: in }
    141     includedGroups: [ inner-group ]
    142     classes:
    143       - test.sample.Scope
    144 
    145   - name: AfterClassCalledAtEnd
    146     classes:
    147       - test.sample.AfterClassCalledAtEnd
    148 
    149   - name: Triangle
    150     classes:
    151       - test.triangle.Child1
    152       - test.triangle.Child2
    153 
    154   - name: CheckTrianglePost
    155     parameters: { expected-calls: 2 }
    156     classes:
    157       - test.triangle.CheckCount
    158 
    159   - name: Test class groups 1
    160     classes:
    161       - test.classgroup.Second
    162       - test.classgroup.First
    163 
    164   - name: Test class groups 2
    165     classes:
    166       - test.classgroup.First
    167       - test.classgroup.Second
    168 
    169   - name: Factory
    170     classes:
    171       - test.factory.FactoryTest
    172       - test.factory.VerifyFactoryTest
    173       - test.factory.FactoryInSeparateClass
    174       - test.factory.Factory2Test
    175       - test.factory.FactoryWithInstanceInfoTest
    176       - test.factory.VerifyFactoryWithInstanceInfoTest
    177       - test.factory.TestClassAnnotationTest
    178       - test.factory.FactoryWithDataProviderTest
    179       - test.factory.FactoryOrderMainTest
    180       - test.factory.FactoryFailureTest
    181       - test.factory.FactoryInSuperClassTest
    182 
    183   - name: TimeOut
    184     classes:
    185       - test.timeout.TimeOutTest
    186       - test.timeout.TimeOutFromXmlTest
    187 
    188   - name: InvocationCount
    189     parameters: { count: 10 }
    190     classes:
    191       - test.InvocationAndSuccessPercentageTest
    192       - test.invocationcount.FailedInvocationCountTest
    193       - test.invocationcount.FirstAndLastTimeTest
    194 
    195   - name: Method1
    196     classes:
    197       - name: test.methods.SampleMethod1
    198         includedMethods:
    199           - shouldRun1
    200           - shouldRun2
    201       - test.methods.VerifyMethod1
    202 
    203   - name: Method2
    204     classes:
    205       - name: test.methods.SampleMethod1
    206         excludedMethods:
    207           - shouldNotRun1
    208           - shouldNotRun2
    209       - test.methods.VerifyMethod1
    210 
    211   - name: Method3
    212     classes:
    213       - name: test.methods.SampleMethod1
    214         excludedMethods:
    215           - .*Not.*
    216       - test.methods.VerifyMethod1
    217 
    218   - name: Object factory
    219     classes:
    220       - test.objectfactory.CustomFactoryTest
    221       - test.objectfactory.CombinedTestAndObjectFactoryTest
    222 
    223   - name: Parameters for constructors
    224     classes:
    225       - test.ParameterConstructorTest
    226 
    227   - name: Excluded methods
    228     includedGroups: [ group1, group2 ]
    229     classes:
    230       - name: test.Exclude
    231         excludedMethods:
    232           - excluded1
    233           - excluded2
    234 
    235   - name: Parameters in init 1
    236     parameters: { param: value1 }
    237     classes:
    238       - test.configuration.ConfigurationWithParameters
    239 
    240   - name: Parameters in init 2
    241     parameters: { param: value2 }
    242     classes:
    243       - test.configuration.ConfigurationWithParameters
    244 
    245   - name: Individual method
    246     classes:
    247       - name: test.IndividualMethodsTest
    248         includedMethods:
    249           - testMethod
    250 
    251   - name: Method inheritance
    252     classes:
    253       - test.inheritance.DChild_2
    254       - test.inheritance.VerifyTest
    255 
    256   - name: Method selectors
    257     classes:
    258       - test.methodselectors.MethodSelectorTest
    259       - test.methodselectors.BeanShellTest
    260       - test.methodselectors.CommandLineTest
    261 
    262   - name: Test order invocation
    263     classes:
    264       - test.interleavedorder.InterleavedInvocationTest
    265 
    266   - name: DataProvider
    267     classes:
    268       - test.dataprovider.Sample1Test
    269       - test.dataprovider.IterableTest
    270       - test.dataprovider.ConfigurationAndDataProvidersTest
    271       - test.dataprovider.BooleanTest
    272       - test.dataprovider.MethodTest
    273       - test.dataprovider.StaticDataProviderSampleTest
    274       - test.dataprovider.UnnamedDataProviderTest
    275       - test.dataprovider.TestContextTest
    276       - test.dataprovider.FailingDataProviderTest
    277       - test.dataprovider.DataProviderAsTest
    278       - test.dataprovider.TestInstanceFactory
    279       - test.dataprovider.FailedDataProviderTest
    280       - test.dataprovider.InstanceDataProviderTest
    281       - test.dataprovider.FailingIterableDataProviderTest
    282       - test.dataprovider.ClassTest
    283       - test.dataprovider.InheritedDataProviderTest
    284 
    285   - name: DP
    286     classes:
    287       - test.dataprovider.ParallelDataProviderTest
    288 
    289   - name: UniqueSuite
    290     classes:
    291       - test.uniquesuite.TestBefore1
    292       - test.uniquesuite.TestBefore2
    293       - test.uniquesuite.TestAfter
    294 
    295   - name: InheritGroups
    296     includedGroups: [ group1 ]
    297     classes:
    298       - test.configuration.ConfigurationInheritGroupsSampleTest
    299 
    300   - name: Nested
    301     includedGroups: [ unittest ]
    302     xmlPackages:
    303       - name: test.nested.*
    304 
    305   - name: Hookable
    306     classes:
    307       - test.hook.HookSuccessTest
    308       - test.hook.HookFailureTest
    309 
    310   - name: BeforeGroups-AfterGroups-1
    311     classes:
    312       - test.configuration.ConfigurationGroups1SampleTest
    313       - test.configuration.ConfigurationGroups2SampleTest
    314       - test.configuration.ConfigurationGroups3SampleTest
    315       - test.configuration.ConfigurationGroups4SampleTest
    316       - test.configuration.ConfigurationGroups5SampleTest
    317       - test.configuration.ConfigurationGroups6SampleTest
    318       - test.configuration.ConfigurationGroups7SampleTest
    319 
    320   - name: BeforeGroups-AfterGroups-2
    321     includedGroups: [ A, B ]
    322     classes:
    323       - test.configuration.ConfigurationGroups8SampleTest
    324 
    325   - name: JUnit
    326     classes:
    327       - test.JUnitTest1
    328       - test.CommandLineTest
    329 
    330   - name: Ant-ClassFileResolution
    331     classes:
    332       - test.ant.TestCommandLineArgs
    333 
    334   - name: Class Run
    335     classes:
    336       - test.regression.groupsordering.A
    337       - test.regression.groupsordering.B
    338 
    339   - name: Groups Run
    340     includedGroups: [ a ]
    341     classes:
    342       - test.regression.groupsordering.A
    343       - test.regression.groupsordering.B
    344 
    345   - name: External group invocation
    346     includedGroups: [ a ]
    347     classes:
    348       - test.groupinvocation.GroupConfiguration
    349       - test.groupinvocation.DummyTest
    350 
    351   - name: SkipExceptions
    352     classes:
    353       - test.skipex.SkippedExceptionTest
    354 
    355   - name: MethodInterceptor
    356     classes:
    357       - test.methodinterceptors.MethodInterceptorTest
    358 
    359   - name: Asserts
    360     classes:
    361       - test.asserttests.AssertTest
    362 
    363   - name: ConfigFailurePolicy
    364     classes:
    365       - test.configurationfailurepolicy.FailurePolicyTest
    366 
    367 
    368