ePrints.FRI - University of Ljubljana, Faculty of Computer and Information Science

Comparison of unit test frameworks for C# programming language

Klemen Gorjan (2015) Comparison of unit test frameworks for C# programming language. EngD thesis.

[img]
Preview
PDF
Download (602Kb)

    Abstract

    The main focus of this thesis is on the first level of software testing - unit testing. The comparison will be made between three frameworks for unit testing in C# programming language - framework NUnit, xUnit and MSTest. At first, we will get acquainted with basic concepts and different levels of testing. Then we will focus on unit testing, where we will present some important terms, which are important for understanding the thesis. At the end of the chapter, the benefits and disadvantages will be explained. All three frameworks were thoroughly tested based on these criteria: the existence of documentation, popularity, integration with Visual Studio development environment, report creation, possibility of test configuration, assert methods, method of testing implementation, development of the framework and usefulness in practice. Method of testing implementation was chosen as the most important criteria, because life cycle of the test class can affect the results of the test methods, so it is very important that we know the difference between different frameworks. Based on given criteria, framework xUnit was proved as the best, whereas NUnit and MSTest were very close.

    Item Type: Thesis (EngD thesis)
    Keywords: software testing, unit testing, framework, C#, NUnit, xUnit, MSTest
    Number of Pages: 50
    Language of Content: Slovenian
    Mentor / Comentors:
    Name and SurnameIDFunction
    viš. pred. dr. Igor Rožanc278Mentor
    Link to COBISS: http://www.cobiss.si/scripts/cobiss?command=search&base=51012&select=(ID=1536224963)
    Institution: University of Ljubljana
    Department: Faculty of Computer and Information Science
    Item ID: 2908
    Date Deposited: 02 Feb 2015 13:22
    Last Modified: 06 Mar 2015 10:12
    URI: http://eprints.fri.uni-lj.si/id/eprint/2908

    Actions (login required)

    View Item