Performance Comparison of Unit Test Isolation Frameworks
Article Sidebar
Open full text
Issue Vol. 23 (2022)
-
Comparative analysis of selected programming frameworks of Java-based web applications
Radosław Książek, Beata Pańczyk66-70
-
Preferences of modern mobile app users
Kamil Kasztelan, Jakub Smołka71-76
-
Web application performance analysis using Angular, React and Vue.js frameworks
Konrad Bielak, Bartłomiej Borek, Małgorzata Plechawska-Wójcik77-83
-
Comparative analysis of software for smart homes
Mateusz Woliński, Tomasz Szymczyk84-88
-
Comparative analysis of message brokers
Mateusz Kaczor, Paweł Powroźnik89-96
-
Comparison of virtualization methods at operating system level
Łukasz Grula, Paweł Powroźnik97-104
-
Detrimental Starfish Detection on Embedded System: A Case Study of YOLOv5 Deep Learning Algorithm and TensorFlow Lite framework
Quoc Toan Nguyen105-111
-
An Analysis of the Knowledge about the Aspects of Cybersecurity and Two-Factor Logging in the Society
Kamil Piłat, Michał Tomasz Pawłowski, Grzegorz Kozieł112-117
-
Analysis of the application of brain-computer interfaces of a selected paradigm in everyday life
Katarzyna Mróz, Małgorzata Plechawska-Wójcik118-122
-
Performance Comparison of Unit Test Isolation Frameworks
Mateusz Domański, Michał Dołęga, Grzegorz Kozieł123-127
-
Comparative analysis of frameworks using TypeScript to build server applications
Marcin Golec, Małgorzata Plechawska-Wójcik128-134
-
C++ and Java performance on the Android platform
Paweł Wlazło, Jakub Smołka135-139
-
A Novel Inconsequential Encryption Algorithm for Big Data in Cloud Computing
Ravi Kanth Motupalli, Krishna Prasad K.140-144
-
Comparison of LeNet-5, AlexNet and GoogLeNet models in handwriting recognition
Bartosz Michalski, Małgorzata Plechawska-Wójcik145-151
-
Comparative study of scaling parameters and research output of selected highly- and moderately-cited individual authors
Keshra Sangwal152-164
-
Analysis of the performance of iOS applications developed using native and cross-platform technology.
Marcin Michałowski, Maria Skublewska-Paszkowska165-171
Main Article Content
DOI
Authors
mateusz.domanski1@pollub.edu.pl
Abstract
The goal of unit testing is to verify that individual parts of application are correct. For external dependencies mock objects should be created. This process is supported by dedicated libraries. The paper compares three unit test isolation frameworks for .NET: Moq 4.16.1, FakeItEasy 7.2.0 and NSubstitute 4.2.2. The performance research included comparison of benchmark execution times and comparison of unit test execution times in which selected methods of tested libraries were used. The results are shown on box plots. The analysis shows that Moq is optimal mocking framework.
Keywords:
References
H. Vocke, The Practical Test Pyramid, martinfowler.com, 2018.
J. Petersen, 10 Reasons Why Unit Testing Matters, CODE Magazine, 2019 January/February.
J. Coplien, Why Most Unit Testing is Waste, RBCS-US.com, 2015.
Porównanie obiektu typu mock a stub, https://martinfowler.com/articles/mocksArentStubs.html, [07.03.2022]
R. Osherove, Testy jednostkowe. Świat niezawodnych aplikacji. Wydanie II, Helion, 2014.
T. Haukilehto, Isolated unit tests in. Net, Seinäjoki University of Applied Sciences, 2013.
Porównanie testów jednostkowych z wykorzystaniem bibliotek Moq, NSubstitute i FakeItEasy, https://blog.elmah.io/moq-vs-nsubstitute-vs-fakeiteasy-which-one-to-choose/, [07.03.2022]
T. Hyttinen, .NET Core 3.1 & .NET 5, Performance benchmarking in Web API use, JAMK University of
Article Details
Abstract views: 273
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
