nunit - .NET unit testing framework without the use of attributes -
does of more common unit testing frameworks (msunit, nunit, xunit) support mechanism can write code returns list of test methods instead of them being collected automatically based on attributes?
i write single method either reads tests external data source or use reflection own logic find test methods.
you can build own test runner matter. takes filter methods assembly or other source plan write anyway. run these methods in try catch block.
you can consider following filtering solutions nunit (i'm not sure other frameworks.)
a) split tests categories , write own custom category attributes explained in following discussion: are custom filters in nunit possible?
b) use filtering mechanism thought it's xml , not code: https://github.com/nunit/dev/wiki/test-filters.
Comments
Post a Comment