izpis_h1_title_alt

Primerjava ogrodij za testiranje enot v programskem jeziku C : diplomsko delo
ID Gorjan, Klemen (Author), ID Rožanc, Igor (Mentor) More about this mentor... This link opens in a new window

URLURL - Presentation file, Visit http://eprints.fri.uni-lj.si/2908/ This link opens in a new window

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-69166 This link opens in a new window
UDC:004.4(043.2)
COBISS.SI-ID:1536224963 This link opens in a new window
Publication date in RUL:10.07.2015
Views:1355
Downloads:223
Metadata:XML RDF-CHPDL DC-XML DC-RDF
:
Copy citation
Share:Bookmark and 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:
Similar works from other Slovenian collections:

Back