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

Adding timeout parameter to testrunner #61

Open
apaikan opened this issue Feb 1, 2017 · 1 comment
Open

Adding timeout parameter to testrunner #61

apaikan opened this issue Feb 1, 2017 · 1 comment

Comments

@apaikan
Copy link
Contributor

apaikan commented Feb 1, 2017

It will be very useful to have timeout for running the tests using testrunner.

Problem

As it is for now, if one of the test cases gets blocked, the testrunner is blocked too and no more tests are running until the CTRL+C is pressed from the testrunner terminal.

Suggestion

  1. to add --timeout <seconds> param to the testrunner
  2. Add the `timeout' property /tag to the test suite xml file:
<?xml version="1.0" encoding="UTF-8"?>

<suit name="my suit">
    <description> a simple example </description>

   <!-- default timeout for all tests -->
    <timeout> 5.0 </timeout>

    <test type="dll"> mytest2 </test>
   ...
   
   <!-- timeout for a specific test -->
    <test type="dll" timeout="10.0"> mytest1 </test>
    ...
</suit>
@traversaro traversaro changed the title Adding timeout paramtere to testrunner Adding timeout parameter to testrunner Oct 30, 2017
@apaikan
Copy link
Contributor Author

apaikan commented Nov 14, 2017

Is this issue still major?
@valegagge what do you think? :)

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

No branches or pull requests

1 participant