Hi all. My team is fairly new to using AIO. We already have a decent amount of automated test cases using NUnit as our test runner. My current task is to figure out how to get those test cases imported into AIO. I found the documentation regarding import test results files and after a simple test with a small amount of cases, I was able to get it to work. However, after the import was done I noticed that not all fields from my test results file were imported into AIO. For example, take this test from our repository:
[Test]
[Category(TestCategory.ManageAppApi)]
[Description("Verifies that a property with open violations that are updated to closed returns the correct counts for those items.")]
public void Properties_UpdateOpenViolationsToClosed_Test()
As you can see, it has both the NUnit Description and Category attributes. I did a test run including this test. I then imported it into AIO. The test case was created in AIO with the name "Properties_UpdateOpenViolationsToClosed_Test" which is perfect. However, I would also like Category and Description to be imported as well. As there is a Description field on AIO test cases, it would make the most sense for my Description from code to populate the AIO Description field. For category, I would love to be able to populate the tag field with whatever categories I have on a test case in my code. Is there any way to do with with the import endpoint?
Hello Bryan,
We had tried putting the Description like you had in our tests and generated the xml. The description still didn;t show up. Can you please let us know how are you generating the report file and the versions being used.
Regards,
Niharika