diplomsko delo
Klemen Gorjan (Author), Igor Rožanc (Mentor)

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.

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;

Data

Language: Slovenian
Year of publishing:
Typology: 2.11 - Undergraduate Thesis
Organization: UL FRI - Faculty of Computer and Information Science
Publisher: [K. Gorjan]
UDC: 004.4(043.2)
COBISS: 1536224963 Link will open in a new window
Views: 916
Downloads: 196
Average score: 0 (0 votes)
Metadata: JSON JSON-RDF JSON-LD TURTLE N-TRIPLES XML RDFA MICRODATA DC-XML DC-RDF RDF

Other data

Secondary language: English
Secondary title: Comparison of unit test frameworks for C# programming language
Secondary 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.
Secondary keywords: software testing;unit testing;framework;C#;NUnit;xUnit;MSTest;computer science;computer and information science;diploma;
File type: application/pdf
Type (COBISS): Bachelor thesis/paper
Study programme: 1000470
Thesis comment: Univ. v Ljubljani, Fak. za računalništvo in informatiko
Pages: 50 str.
ID: 8739660
Recommended works:
, diplomsko delo visokošolsko strokovnega študija
, magistrsko delo
, diplomsko delo visokošolskega študijskega programa