I am trying to make some changes to the existing Qt unit tests that we have. I am trying to associate each tests with an id so that it can be used for integrating with an external platform like Jira or any test tracking tool.
This is an example of what we have
TestCase {
name: "Led"
// Need a way to give id for this test. Something like an annotation like @testid(34) which will be given as output along with the test result
function test_test1()
{
// some test
}
function test_test2()
{
}
}
Is there any native Qt function/ any external way through which I can achieve this? There are two things I need. One is the id and the other is execution time for each tests. Id is the most important thing that I need. Any help would be grateful. Thanks.
Aucun commentaire:
Enregistrer un commentaire