.net - Combinatorial data in xUnit.NET? -
i'm migrating mbunit xunit, , i'm trying locate equivalent attributes (or approach) mbunit's [combinatorialjoin]
, [column]
.
for example, when testing common behavior of function multiple boolean parameters, [column]
makes easy test permutations:
public void testmethodwithtoomanyoptions([column(true, false)] bool dispose, [column(true, false)] bool usedestinationstream, [column(true, false)] bool usecorruptedsource, [column(true, false)] bool loadtwice, [column(true, false)] bool usesourcestream) {
[combinatorialjoin]
, [sequentialjoin]
, [pairwisejoin]
affect how columns (or rows) permuted.
this perhaps correct response...
Comments
Post a Comment