Plugin Information
This plug-in integrates Hudson and TestLink and generates reports on automated test execution.With this plug-in you can manage your tests in TestLink, schedule and control in Hudson, and execute using your favorite test execution tool. Nice uhn? DescriptionThe TestLink plug-in integrates Hudson with TestLink. TestLink plug-in uses testlink-java-api to access TestLink XML-RPC api. With the information that you provide in the build step configuration the plug-in retrieves automated tests from TestLink. For each automated test found, the plug-in calls a test command that you specify in the build configuration page. The plug-in also includes the automated test case data (name, author, custom fields, etc) as environment variable. This way you can use information from your automated test case in your test command. It is important that your test command returns 0 when succeeded, or else the plug-in won't be able to tell when it succeeds or not. How does the plug-in execute my automated tests?TestLink Hudson Plug-in retrieves automated test cases data from TestLink. This data is then set as environment variables. Thus your test command can make use of this information to execute your automated tests. For instance, you could run ant passing a Test Class as parameter: /opt/java/apache-ant-1.8.0/bin/ant -DtestClass=$TESTLINK_TESTCASE_TEST_CLASS List of environment variables that TestLink Hudson Plug-in defines:
For each Custom Field found, TestLink Hudson Plug-in defines an environment variable for with its name and value, as shown above (%CUSTOM_FIELD_NAME%). If the custom field name contains spaces the plug-in will convert them into _'s. i.e., Test Class can be accessed as %TESTLINK_TESTCASE_TEST_CLASS% in Windows or $TESTLINK_TESTCASE_TEST_CLASS in *nix-like systems. How does the plug-in know if a test passed or failed?There are three strategies in the plug-in for finding test results status. Please, refer to Strategies+for+finding+Test+Results for further information. Configuration
Languages Supported
Want to see this plug-in in your language? Send us an e-mail and we will get in touch with the text that needs to be translated. FeedbackYour feedback is very welcomed, but you don't need donate money, nay. You can drop a message in [http://www.kinoshita.eti.br] with suggestions and ideas (or even patches). The company that I work with (Sysmap Solutions) sponsored this project. If you liked this project, please drop a message to my company supporting this initiative. This way I can continue supporting this project and contributing to the community. Compatibility MatrixThe plug-in 1.0 and 1.1 versions were pilot projects that should be ignored. They have issues in distributed environments and depend on Maven. Please, consider updating your plug-in to the 2.0 version.
Resources
Known Limitations
Release NotesVersion 2.1
Version 2.0.1
Release 2.0
Release 1.1
Release 1.0
RoadmapVersion 2.2
|