Searched refs:testng (Results 1 – 25 of 1212) sorted by relevance
12345678910>>...49
... /MANIFEST.MF LICENSE NOTICE org/ org/testng/ org/testng/guice/ org/testng ...
4 testng.basename=testng5 testng.version=6.8.14-SNAPSHOT6 testng.fullname=${testng.basename}-${testng.version}41 testng.jar=${target}/${testng.fullname}.jar42 testng.dist.jar=${testng.fullname}-dist.jar43 sources.testng.jar=${testng.fullname}-sources.jar44 testng.junit.jar=${testng.fullname}-junit.jar45 testng.nobsh.noguice.jar=${testng.fullname}-nobsh-noguice.jar46 testng.bsh.noguice.jar=${testng.fullname}-bsh-noguice.jar47 testng.nobsh.guice.jar=${testng.fullname}-nobsh-guice.jar[all …]
3 import static org.testng.Assert.assertTrue;5 import org.testng.TestListenerAdapter;6 import org.testng.TestNG;7 import org.testng.annotations.Test;17 TestNG testng = create(); in withAlwaysRunAfter() local18 testng.setOutputDirectory(OutputDirectoryPatch.getOutputDirectory()); in withAlwaysRunAfter()19 testng.setTestClasses(new Class[] { AlwaysRunAfter1.class }); in withAlwaysRunAfter()20 testng.addListener(tla); in withAlwaysRunAfter()21 testng.run(); in withAlwaysRunAfter()28 TestNG testng = create(); in withoutAlwaysRunAfter() local[all …]
3 import static org.testng.Assert.assertTrue;5 import org.testng.TestListenerAdapter;6 import org.testng.TestNG;7 import org.testng.annotations.Test;22 TestNG testng = new TestNG(); in beforeTestClassFails() local23 testng.setOutputDirectory(OutputDirectoryPatch.getOutputDirectory()); in beforeTestClassFails()24 testng.setTestClasses(new Class[] { in beforeTestClassFails()28 testng.addListener(tla); in beforeTestClassFails()29 testng.setVerbose(0); in beforeTestClassFails()30 testng.run(); in beforeTestClassFails()[all …]
1 package org.testng.asserts;112 org.testng.Assert.assertTrue(condition, message); in assertTrue()121 org.testng.Assert.assertTrue(condition); in assertTrue()130 org.testng.Assert.assertFalse(condition, message); in assertFalse()139 org.testng.Assert.assertFalse(condition); in assertFalse()148 org.testng.Assert.fail(message, realCause); in fail()157 org.testng.Assert.fail(message); in fail()166 org.testng.Assert.fail(); in fail()175 org.testng.Assert.assertEquals(actual, expected, message); in assertEquals()184 org.testng.Assert.assertEquals(actual, expected); in assertEquals()[all …]
3 import org.testng.Assert;4 import org.testng.TestListenerAdapter;5 import org.testng.TestNG;6 import org.testng.annotations.Test;13 TestNG testng = new TestNG(); in runTest() local14 testng.setVerbose(0); in runTest()15 testng.setSkipFailedInvocationCounts(skip); in runTest()16 testng.setTestClasses(new Class[] { FailedInvocationCount.class }); in runTest()18 testng.addListener(tla); in runTest()19 testng.run(); in runTest()[all …]
1 package org.testng.internal.annotations;9 import org.testng.IAnnotationTransformer;10 import org.testng.IAnnotationTransformer2;11 import org.testng.IAnnotationTransformer3;12 import org.testng.ITestNGMethod;13 import org.testng.annotations.AfterClass;14 import org.testng.annotations.AfterGroups;15 import org.testng.annotations.AfterMethod;16 import org.testng.annotations.AfterSuite;17 import org.testng.annotations.AfterTest;[all …]
3 import org.testng.annotations.AfterClass;4 import org.testng.annotations.AfterGroups;5 import org.testng.annotations.AfterMethod;6 import org.testng.annotations.AfterSuite;7 import org.testng.annotations.AfterTest;8 import org.testng.annotations.BeforeClass;9 import org.testng.annotations.BeforeGroups;10 import org.testng.annotations.BeforeMethod;11 import org.testng.annotations.BeforeSuite;12 import org.testng.annotations.BeforeTest;[all …]
3 import org.testng.Assert;4 import org.testng.ITestListener;5 import org.testng.ITestResult;6 import org.testng.Reporter;7 import org.testng.TestListenerAdapter;8 import org.testng.TestNG;9 import org.testng.annotations.Test;10 import org.testng.xml.XmlSuite;11 import org.testng.xml.XmlTest;54 TestNG testng = new TestNG(); in directoryShouldBeSuiteName() local[all …]
5 import org.testng.Assert;6 import org.testng.TestListenerAdapter;7 import org.testng.TestNG;8 import org.testng.annotations.Test;9 import org.testng.collections.Lists;10 import org.testng.reporters.FailedReporter;11 import org.testng.xml.Parser;12 import org.testng.xml.XmlClass;13 import org.testng.xml.XmlSuite;14 import org.testng.xml.XmlTest;
1 …![Build Status](http://img.shields.io/travis/cbeust/testng.svg)](https://travis-ci.org/cbeust/test…4 …pveyor.com/api/projects/status/github/cbeust/testng?svg=true)](https://ci.appveyor.com/project/cbe…6 …tps://www.versioneye.com/java/org.testng:testng/reference_badge.svg)](https://www.versioneye.com/j…7 …g.shields.io/maven-central/v/org.testng/testng.svg)](https://maven-badges.herokuapp.com/maven-cent…8 [![License](https://img.shields.io/github/license/cbeust/testng.svg)](https://www.apache.org/licens…9 …arqube.org/org.testng:testng/tech_debt.svg?label=Sonarqube%20tech%20debt)](http://nemo.sonarqube.o…11 Documentation available at [TestNG's main web site](http://testng.org).
1 package org.testng.xml;3 import static org.testng.reporters.XMLReporterConfig.ATTR_DESC;4 import static org.testng.reporters.XMLReporterConfig.ATTR_DURATION_MS;5 import static org.testng.reporters.XMLReporterConfig.ATTR_NAME;6 import static org.testng.reporters.XMLReporterConfig.ATTR_STATUS;7 import static org.testng.reporters.XMLReporterConfig.TAG_CLASS;8 import static org.testng.reporters.XMLReporterConfig.TAG_PARAMS;9 import static org.testng.reporters.XMLReporterConfig.TAG_SUITE;10 import static org.testng.reporters.XMLReporterConfig.TAG_TEST;11 import static org.testng.reporters.XMLReporterConfig.TAG_TEST_METHOD;[all …]
3 import static org.testng.Assert.assertEquals;5 import org.testng.ITestContext;6 import org.testng.TestListenerAdapter;7 import org.testng.TestNG;8 import org.testng.annotations.BeforeClass;9 import org.testng.annotations.DataProvider;10 import org.testng.annotations.Test;11 import org.testng.xml.XmlSuite;46 TestNG testng = new TestNG(); in confFailureTest() local47 testng.setOutputDirectory(OutputDirectoryPatch.getOutputDirectory()); in confFailureTest()[all …]
1 package org.testng.remote;3 import static org.testng.internal.Utils.defaultIfStringEmpty;8 import org.testng.CommandLineArgs;9 import org.testng.IClassListener;10 import org.testng.IInvokedMethodListener;11 import org.testng.ISuite;12 import org.testng.ISuiteListener;13 import org.testng.ITestRunnerFactory;14 import org.testng.TestNG;15 import org.testng.TestNGException;[all …]
1 package org.testng.remote;6 import org.testng.ISuite;7 import org.testng.TestNG;8 import org.testng.TestNGException;9 import org.testng.collections.Lists;10 import org.testng.internal.PropertiesFile;11 import org.testng.internal.Utils;12 import org.testng.remote.adapter.DefaultWorkerAdapter;13 import org.testng.remote.adapter.IWorkerAdapter;14 import org.testng.xml.XmlSuite;[all …]
1 package org.testng.remote;7 import org.testng.ISuite;8 import org.testng.ISuiteResult;9 import org.testng.ITestListener;10 import org.testng.ITestResult;11 import org.testng.SuiteRunner;12 import org.testng.TestNGException;13 import org.testng.collections.Lists;14 import org.testng.internal.IConfiguration;15 import org.testng.internal.Invoker;[all …]
1 ROOT=~/java/testng3 JAR14=$ROOT/testng-$VERSION-jdk14.jar4 JAR15=$ROOT/testng-$VERSION-jdk15.jar6 …OOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR15:$CLASSPATH org.testng.TestNG test/testng.xml8 …/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR15:$CLASSPATH org.testng.TestNG test/v4/testng.xml10 …jar:$JAVA_HOME/lib/tools.jar:$JAR14:$CLASSPATH org.testng.TestNG -sourcedir test-14/src test-14/te…12 …:$JAVA_HOME/lib/tools.jar:$JAR14:$CLASSPATH org.testng.TestNG -sourcedir test-14/v4/src test-14/v4…
3 import org.testng.Assert;4 import org.testng.TestListenerAdapter;5 import org.testng.TestNG;6 import org.testng.annotations.Test;15 TestNG testng= new TestNG(); in testBeforeAfterClassInvocationsWithFactory() local16 testng.setTestClasses(new Class[] {XClassOrderWithFactory.class}); in testBeforeAfterClassInvocationsWithFactory()18 testng.addListener(tla); in testBeforeAfterClassInvocationsWithFactory()19 testng.setVerbose(0); in testBeforeAfterClassInvocationsWithFactory()20 testng.run(); in testBeforeAfterClassInvocationsWithFactory()
3 import org.testng.Assert;4 import org.testng.TestListenerAdapter;5 import org.testng.TestNG;6 import org.testng.annotations.Test;16 TestNG testng= new TestNG(false); in failingDataProvider() local17 testng.setTestClasses(new Class[] {FailingIterableDataProvider.class}); in failingDataProvider()19 testng.addListener(tla); in failingDataProvider()20 testng.setVerbose(0); in failingDataProvider()22 testng.run(); in failingDataProvider()
3 import org.testng.Assert;4 import org.testng.TestListenerAdapter;5 import org.testng.TestNG;6 import org.testng.annotations.BeforeTest;7 import org.testng.annotations.Test;35 TestNG testng = new TestNG(); in invocationOrder() local36 testng.setOutputDirectory(OutputDirectoryPatch.getOutputDirectory()); in invocationOrder()37 testng.setTestClasses(new Class[] { TestChild1.class, TestChild2.class }); in invocationOrder()38 testng.addListener(tla); in invocationOrder()39 testng.setVerbose(0); in invocationOrder()[all …]
3 import org.testng.annotations.AfterClass;4 import org.testng.annotations.AfterGroups;5 import org.testng.annotations.AfterMethod;6 import org.testng.annotations.AfterSuite;7 import org.testng.annotations.BeforeClass;8 import org.testng.annotations.BeforeGroups;9 import org.testng.annotations.BeforeMethod;10 import org.testng.annotations.BeforeSuite;11 import org.testng.annotations.Test;
3 import org.testng.annotations.AfterClass;4 import org.testng.annotations.AfterMethod;5 import org.testng.annotations.AfterSuite;6 import org.testng.annotations.AfterTest;7 import org.testng.annotations.BeforeClass;8 import org.testng.annotations.BeforeMethod;9 import org.testng.annotations.BeforeSuite;10 import org.testng.annotations.BeforeTest;11 import org.testng.annotations.Test;
1 package org.testng.internal;3 import static org.testng.internal.Utils.isStringNotEmpty;9 import org.testng.IClass;10 import org.testng.IModuleFactory;11 import org.testng.ISuite;12 import org.testng.ITest;13 import org.testng.ITestContext;14 import org.testng.ITestObjectFactory;15 import org.testng.TestNGException;16 import org.testng.annotations.Guice;[all …]
3 import org.testng.Assert;4 import org.testng.ITestResult;5 import org.testng.TestListenerAdapter;6 import org.testng.TestNG;7 import org.testng.annotations.BeforeMethod;8 import org.testng.annotations.Test;9 import org.testng.collections.Lists;10 import org.testng.xml.XmlClass;11 import org.testng.xml.XmlMethodSelector;12 import org.testng.xml.XmlSuite;[all …]
3 import org.testng.Assert;4 import org.testng.IReporter;5 import org.testng.ISuite;6 import org.testng.ISuiteResult;7 import org.testng.ITestContext;8 import org.testng.TestNG;9 import org.testng.annotations.Test;10 import org.testng.xml.XmlSuite;