Downloads: 124 | Views: 157
Research Paper | Computer Science & Engineering | India | Volume 2 Issue 5, May 2013
Enhancement in Nunit Testing Framework by binding Logging with Unit testing
Viraj Daxini | D.A.Parikh
Abstract: This paper describes the new testing library named log4nunit testing library which is enhanced version of nunit testing library as it is binded to logging functionality. NUnit is similar to xunit testing family in all that cases are built directly to the code of the project. Log4NUnit testing library provides the capability to log the results of tests along with testing classes. It also provides the capability to log the messages from within the testing methods. It supplies extension of NUnits Test class method in terms of logging the results. It has functionality to log the entity of test cases, based on the Logging framework, to document the test settings which is done at the time of testing, test case execution and its results. Attractive feature of new library is that it will redirect the log message to console at runtime if Log4net library is not present in the class path. It will make easy for those users who do not want to download Logging framework and put it in their class path. Log4NUnit also include a Log4net logger methods and implements utility of logging methods such as info, debug, warn, fatal etc. This work was prompted due to lack of published results concerning the implementation of Log4NUnit.
Keywords: XUnit, NUnit Testing, Log4NUnit, logging, log4net
Edition: Volume 2 Issue 5, May 2013,
Pages: 195 - 198