DynamoDS / RevitTestFramework

Unit Testing on Revit
119 stars 81 forks source link

Make it possible to support multiple categories #24

Closed Randy-Ma closed 9 years ago

Randy-Ma commented 9 years ago

@ikeough

Before this submission, test cases which belong to multiple categories are only attributed to the first category. It seems the order of the attributes obtained from reflection is not strictly following what are defined in the source code. As a result, the test case MAGN_2576 is attributed to the Failure category in the debug build and is not attributed to the Failure category in the release build. This is causing some confusion and instability. This submission will attribute every test case to all the categories it belong to.

ikeough commented 9 years ago

This is a great catch! Thanks @Randy-Ma! LGTM.

I'm also going to add one test case to ensure tests that are attributed to two categories get put in both.