.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...

https://github.com/aarnott/xunit.combinatorial


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -