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.
References
J. Albahari, C# 9.0 in a nutshell: The definitive reference, O'Reilly Media, Sebastopol, 2021.
R. Osherove, The Art of Unit Testing, Second Edition with examples in C#, Manning Publications, Shelter Island, 2013.
P. Strzelecki, M. Skublewska-Paszkowska, Pórownanie wybrancych narzędzi do przeprowadzania testów jednostkowych, Journal of Computer Sciences Institute 9 (2018) 334-339.
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.
P. Runeson, A survey of unit testing practices IEEE software 23, 4 (2006) 22–29.
Czy testowanie jednostkowe przynosi efekty?, https://stackoverflow.com/questions/67299/is-unit-testing-worth-the-effort, [21.05.2022].
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.
V. Khorikov, Unit testing principles, practices and pattterns, Simon and Schuster, New York, 2020.
P. Hamill, Unit Test Frameworks: Tools for High-Quality Software Development, O'Reilly Media, Sebastopol, 2004.
Dokumentacja XUnit, https://xunit.net/#documentation, [21.05.2022].
Dokumentacja NUnit, https://docs.nunit.org/, [21.05.2022].
Dokumentacja MSTest, https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.testtools.unittesting?view=visualstudiosdk-2022, [21.05.2022].