Your browser does not allow JavaScript!
JavaScript is necessary for the proper functioning of this website. Please enable JavaScript or use a modern browser.
Repository of the University of Ljubljana
Open Science Slovenia
Open Science
DiKUL
slv
|
eng
Search
Browse
New in RUL
About RUL
In numbers
Help
Sign in
Details
Primerjava ogrodij za testiranje enot v programskem jeziku C# : diplomsko delo
ID
Gorjan, Klemen
(
Author
),
ID
Rožanc, Igor
(
Mentor
)
More about this mentor...
PDF - Presentation file,
Download
(602,75 KB)
MD5: F0F160EA2D13E1C282E8ABEE7CE95C9F
PID:
20.500.12556/rul/933bb4f2-bd7a-4722-818b-3dfc89c2bcb3
Image galllery
Abstract
Diplomsko delo se posveča prvemu nivoju v procesu testiranja programske opreme - testiranju enot. Primerjavo bomo izvedli med tremi ogrodji za testiranje enot, ki jih lahko uporabimo v programskem jeziku C# - ogrodje NUnit, xUnit in MSTest. Najprej se bomo bolje spoznali z osnovnimi koncepti in predstavili različne nivoje testiranja. Sledilo bo podpoglavje o testiranju enot, kjer bomo predstavili pomembne izraze, ki so potrebni za razumevanje diplomske naloge in kakšne prednosti oz. slabosti nam testiranje enot sploh prinaša. Vsa tri ogrodja smo temeljito testirali na podlagi sledečih kriterijev: obstoj dokumentacije, popularnost, integracija z razvojnim okoljem Visual Studio, izdelava poročil, možnosti konfiguracije testov, trditvene metode, način izvajanja testiranja, razvoj ogrodja in uporabnost v praksi. Kot najpomembnejši kriterij smo izbrali način izvajanja testiranja, saj lahko življenjski cikel testnega razreda vpliva na rezultate testnih metod, zato je izjemno pomembno da poznamo razliko med ogrodji. Glede na podane kriterije se je kot daleč najboljše ogrodje izkazal xUnit, ogrodji NUnit in MSTest pa sta si bili zelo blizu.
Language:
Slovenian
Keywords:
testiranje programske opreme
,
testiranje enot
,
ogrodje
,
C#
,
NUnit
,
xUnit
,
MSTest
,
računalništvo
,
visokošolski strokovni študij
,
računalništvo in informatika
,
diplomske naloge
Work type:
Bachelor thesis/paper
Typology:
2.11 - Undergraduate Thesis
Organization:
FRI - Faculty of Computer and Information Science
Publisher:
[K. Gorjan]
Year:
2015
Number of pages:
50 str.
PID:
20.500.12556/RUL-30547
COBISS.SI-ID:
1536224963
Publication date in RUL:
05.02.2015
Views:
2457
Downloads:
488
Metadata:
Cite this work
Plain text
BibTeX
EndNote XML
EndNote/Refer
RIS
ABNT
ACM Ref
AMA
APA
Chicago 17th Author-Date
Harvard
IEEE
ISO 690
MLA
Vancouver
:
GORJAN, Klemen, 2015,
Primerjava ogrodij za testiranje enot v programskem jeziku C# : diplomsko delo
[online]. Bachelor’s thesis. K. Gorjan. [Accessed 16 May 2025]. Retrieved from: https://repozitorij.uni-lj.si/IzpisGradiva.php?lang=eng&id=30547
Copy citation
Share:
Secondary language
Language:
English
Title:
Comparison of unit test frameworks for C# programming language
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.
Keywords:
software testing
,
unit testing
,
framework
,
C#
,
NUnit
,
xUnit
,
MSTest
,
computer science
,
computer and information science
,
diploma
Similar documents
Similar works from RUL:
Searching for similar works...
Similar works from other Slovenian collections:
Back