Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature to parse custom fields from Junit.xml and update in TestLink #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mazimkhan
Copy link

@mazimkhan mazimkhan commented Oct 7, 2016

This PR adds a feature to read execution time custom field values from the JUnit.xml file and update the test results with them.
Example of JUnit.xml:

<?xml version="1.0" encoding="UTF-8"?>
<testsuite failures="0" tests="6" errors="1" time="0.149999856949">
    <testcase classname="FLASH_SET_test_01_start" name="FLASH_SET_test_01_start" time="0.0499999523163">
        <host_os>Windows</host_os>
        <power>0.5</power>
        <error>
    </testcase>
    <testcase classname="FLASH_SET_test_01_start" name="FLASH_SET_test_01_start" time="0.0499999523163">
        <host_os>Windows</host_os>
        <power>0.6</power>
    </testcase>
    <testcase classname="FLASH_SET_test_01_start" name="FLASH_SET_test_01_start" time="0.0499999523163">
        <host_os>Windows</host_os>
        <power>0.5</power>
    </testcase>
</testsuite>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant