Perfomance analysis of libraries for testing web applications on the ASP.NET Core platform

Karol Niedziela

karol.niedziela@pollub.edu.pl
Politechnika Lubelska (Poland)

Jakub Nieradko


Politechnika Lubelska (Poland)

Abstract

This paper conducts a performance analysis of three libraries: XUnit, NUnit, MSTest, aiming to compare the time performance. The performance was checked using load test, synchronous and asynchronous tests. The synchronous and asynchronous tests were divided into groups of 10, 25, 50 and 100 test cases. The tests were carried out using an inhouse project written on the ASP.NET Core platform.


Keywords:

software engineering; unit tests; performance; ASP.NET Core; C#

J. Albahari, C# 9.0 in a nutshell: The definitive reference, O'Reilly Media, Sebastopol, 2021.
  Google Scholar

R. Osherove, The Art of Unit Testing, Second Edition with examples in C#, Manning Publications, Shelter Island, 2013.
  Google Scholar

P. Strzelecki, M. Skublewska-Paszkowska, Pórownanie wybrancych narzędzi do przeprowadzania testów jednostkowych, Journal of Computer Sciences Institute 9 (2018) 334-339.
DOI: https://doi.org/10.35784/jcsi.706   Google Scholar

L. Gren, A. Vard, On the relation between unit testing and code quality, Proceedings of the 43rd Euro Micro Conference on Software Engineering and Advanced Applications (SEAA), IEEE Xplore (2017) 52-56.
DOI: https://doi.org/10.1109/SEAA.2017.36   Google Scholar

P. Runeson, A survey of unit testing practices IEEE software 23, 4 (2006) 22–29.
DOI: https://doi.org/10.1109/MS.2006.91   Google Scholar

Czy testowanie jednostkowe przynosi efekty?, https://stackoverflow.com/questions/67299/is-unit-testing-worth-the-effort, [21.05.2022].
  Google Scholar

G. Sochacki, B. Pańczyk, Test-Driven Development jako narzędzie optymalizacji procesu wytwarzania oprogramowania na platformie JEE, Journal of Computer Sciences Institute, 4 (2017) 112-116.
DOI: https://doi.org/10.35784/jcsi.606   Google Scholar

V. Khorikov, Unit testing principles, practices and pattterns, Simon and Schuster, New York, 2020.
  Google Scholar

P. Hamill, Unit Test Frameworks: Tools for High-Quality Software Development, O'Reilly Media, Sebastopol, 2004.
  Google Scholar

Dokumentacja XUnit, https://xunit.net/#documentation, [21.05.2022].
  Google Scholar

Dokumentacja NUnit, https://docs.nunit.org/, [21.05.2022].
  Google Scholar

Dokumentacja MSTest, https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.testtools.unittesting?view=visualstudiosdk-2022, [21.05.2022].
  Google Scholar

Download


Published
2022-12-30

Cited by

Niedziela, K., & Nieradko, J. (2022). Perfomance analysis of libraries for testing web applications on the ASP.NET Core platform. Journal of Computer Sciences Institute, 25, 323–329. https://doi.org/10.35784/jcsi.3015

Authors

Karol Niedziela 
karol.niedziela@pollub.edu.pl
Politechnika Lubelska Poland

Authors

Jakub Nieradko 

Politechnika Lubelska Poland

Statistics

Abstract views: 75
PDF downloads: 93