Page 1 of 1

Easy JUnit - testlink integration with unitils

Posted: Thu Sep 26, 2013 2:15 pm
by thomasi.derycke
Unitils is a lightweight opensource xunit testingframework compatible with JUnit & TestNG. I'ts modulare structure allows you to use different testingframeworks to work together.

https://sourceforge.net/p/unitilstestlink/wiki/Home/

Recently a unitils-testlink module has been opensourced. It allows you to push pack results of your test in the most simple matter to testlink.

Code: Select all

public class helloworldTest {

        @TestLink("helloworld")
        @Test
        public void helloworld() {
            Assert.assertTrue(true);
        }

    }
This basic example will push back the testresult of testcase "helloworld".
- Common stuff can be configured once for a project (like project name,...)
- options like 'auto create test in testlink if it doesn't exist yet' are also available.

When using maven you could imagine creating a profile to only push back results when the test are runned in you continious build system (like jenkins)

take a look @ https://sourceforge.net/p/unitilstestlink/wiki/Home/

Re: Easy JUnit - testlink integration with unitils

Posted: Thu Sep 26, 2013 6:46 pm
by fman