Project Description
Provides pivot report creating from NUnit combinatorial test result xml files.
Also supports viewing of pivot data and its exporting to xlsx.
Main Features
Tambourine.NUnit is a small programs that is created for converting NUnit results to pivot table. It can be useful for visualizing
Combinatorial tests results.
Example
[Test, Combinatorial]
public void Test3_ThreeOperation(
[Values("LoadDataFirstWay", "LoadDataSecondWay")]
string loadMethod,
[Values("UpdataDataFirstWay", "UpdateDataSecondWay", "UpdateDataThirdWay", "UpdateDataFourthWay")]
string updateMethodFirst,
[Values("UpdataDataFirstWay", "UpdateDataSecondWay", "UpdateDataThirdWay", "UpdateDataFourthWay")]
string updateMethodSecond,
[Values("UpdataDataFirstWay", "UpdateDataSecondWay", "UpdateDataThirdWay", "UpdateDataFourthWay")]
string updateMethodThird,
[Values("checkDataResultChangedI", "checkDataResultChangedJ", "checkDataResultThreeOperationI", "checkDataResultThreeOperationJ")]
string checkMethod)
{
...
}
In this example we have 512 test cases. And this is not simple to understand some regularities in traditional NUnit GUI. There are too many items on the left side treeview of NUnit window:

In these cases all you need is to add some Tambourine specific properties into your code.
Example
[Test, Combinatorial]
[Property("TambourineArguments", "loadMethod,updateMethodFirst,updateMethodSecond,updateMethodThird,checkMethod")]
[Property("TambourineColumn", "checkMethod")]
public void Test3_ThreeOperation(
[Values("LoadDataFirstWay", "LoadDataSecondWay")]
string loadMethod,
[Values("UpdataDataFirstWay", "UpdateDataSecondWay", "UpdateDataThirdWay", "UpdateDataFourthWay")]
string updateMethodFirst,
[Values("UpdataDataFirstWay", "UpdateDataSecondWay", "UpdateDataThirdWay", "UpdateDataFourthWay")]
string updateMethodSecond,
[Values("UpdataDataFirstWay", "UpdateDataSecondWay", "UpdateDataThirdWay", "UpdateDataFourthWay")]
string updateMethodThird,
[Values("checkDataResultChangedI", "checkDataResultChangedJ", "checkDataResultThreeOperationI", "checkDataResultThreeOperationJ")]
string checkMethod)
{
...
}
Here
TambourineArguments Property contains function argument list and
TambourineColumn contains pivot column name. For full usage example look at Tambourine.UseExample source code.
After opening NUnit xml result file (
example) in Tambourine you will see:


Pivot report data can also be exported to Open Xml (
example):


Program supports command line arguments for both cli and gui variants:
D:\Projects2012\Tambourine.NUnit\Tambourine\bin\Debug>Tambourine.exe /?
Usage:
Tambourine.exe [InputFileName] [OutputFileName] [OutputTestName]
[InputFileName] - NUnit result xml file path
[OutputFileName] - Output xlsx file path
[OutputTestName] - Tambourine test for export
P.S. Tambourine code is stable, but sometimes it is “dirty”, slowly or not well commented. I have plans to fix it in some future releases.
Special thanks to
JanKallman for his
epplus. This library is using in Tambourine.NUnit for xlsx report generation.