3

So I have a Selenium Automation project (using Maven). I'd like to be able to set my tests to run overnight and possibly email a report daily to the team. Which CI would be most suitable for TestNG.xml suites?

I tried Hudson but I couldn't figure out a way to execute TestNG files from the build?

Thanks in advance.

Yusubov
21.5k6 gold badges47 silver badges71 bronze badges
asked Sep 12, 2012 at 22:07

2 Answers 2

2

You should be able to use Hudson to kick off a Maven job (Hudson has a Maven plugin http://wiki.hudson-ci.org/display/HUDSON/Maven+2+Project+Plugin works with maven 3) that runs your test, see http://testng.org/doc/maven.html

answered Sep 12, 2012 at 22:14
1

There are different ways that you may try and Hudson is one of them. However, you might not find a good resource or article to follow.

Here is a nice walk-through how to succeed - Continuous Integration with Selenium

I would also recommend to look at TestNG and Advanced Concepts book for a complete reference.

answered Sep 12, 2012 at 22:17

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.