ATF Tests Results - Display negative tests as passed successfully instead of test failed

Anirban Roy
Mega Guru

Hi Community,

I am trying to create a dashboard/ report with ATF tests/ test results which will also include validations and negative tests.

The negative tests/ validations return failure for test results, which is expected. But, I would like to know if it is a good practice to show failure test results, as it might give wrong impression that the test itself was failed.

Basically, I am trying to highlight that all the tests were successfully executed and the functionalities were successfully tested but also want to show that the negative test results were validated successfully.

 

Regards,
Anirban Roy

 

 

 

 

 

3 REPLIES 3

Jace Benson
Mega Sage

I'd suggest editing your post by updating the title to get more people to look at it.

Make a good to-the-point title for the question or as stackoverflow says, "Write a title that summarizes the specific problem". This helps because it lets those who can help, know they can without going into the post. You might be thinking, I can't sum it up it's too complex. No problem, try to think how you'd ask a busy colleague, and put that into the subject. If you're still having trouble, write the title last after all the details are fresh.

  • Good: Set Value form variable in the request form to Table field
  • Good: How to disable attachment confirmations?
  • Good: How can I set an override reference qualifier to a group
  • Bad: NetApp
  • Bad: Photo Masking
  • Bad: Not Available for Module script

https://stackoverflow.com/help/how-to-ask

Thanks. You are right, I should have kept the title more informative to summarize the query.

bbf3562
Kilo Guru

There are several test steps that use a field called "Assert Type". That field is to allow the test to succeed or failed as expected and then continue testing without stop the executing.