About Mark Shead

Mark Shead

Mark Shead

Find more about me on:

Here are my most recent posts

Being Wrong

A person determined never to be wrong won’t likely accomplish much.
~ Ken Wisdom (source)

Are you willing to accept being wrong as part of the path toward success?

Tapestry and testng.xml

You can use a testng.xml file to help control the tests and browser used by Selenium in Tapestry.  However, you have to tell Maven to look for the testng.xml file or it will ignore it.  You do this by putting the following in your pom.xml -> build -> plugins:

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.6</version>
				<configuration>
					<suiteXmlFiles>
						<suiteXmlFile>src/test/conf/testng.xml</suiteXmlFile>
					</suiteXmlFiles>
				</configuration>
			</plugin>