izpis_h1_title_alt

Primerjava ogrodij za testiranje enot v programskem jeziku C#
GORJAN, KLEMEN (Author), Rožanc, Igor (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (602,75 KB)

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
Work type:Bachelor thesis/paper (mb11)
Organization:FRI - Faculty of computer and information science
Year:2015
Views:585
Downloads:241
Metadata:XML RDF-CHPDL DC-XML DC-RDF
 
Average score:(0 votes)
Your score:Voting is allowed only to logged in users.
:
Share:AddThis
AddThis uses cookies that require your consent. Edit consent...

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

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Comments

Leave comment

You have to log in to leave a comment.

Comments (0)
0 - 0 / 0
 
There are no comments!

Back