ResearchBib Share Your Research, Maximize Your Social Impacts
Sign for Notice Everyday Sign up >> Login

Enhancement in Nunit Testing Framework by binding Logging with Unit testing

Journal: International Journal of Science and Research (IJSR) (Vol.2, No. 5)

Publication Date:

Authors : ; ;

Page : 195-198

Keywords : XUnit; NUnit Testing; Log4NUnit; logging; log4net;

Source : Downloadexternal Find it from : Google Scholarexternal

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.

Last modified: 2021-06-30 20:16:32