• Refine Query
  • Source
  • Publication year
  • to
  • Language
  • 1
  • Tagged with
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • About
  • The Global ETD Search service is a free service for researchers to find electronic theses and dissertations. This service is provided by the Networked Digital Library of Theses and Dissertations.
    Our metadata is collected from universities around the world. If you manage a university/consortium/country archive and want to be added, details can be found on the NDLTD website.
1

Vienetų testų generavimas, remiantis testų duomenų baze / Unit tests generation using test history data

Gurgždys, Viktoras 24 August 2009 (has links)
Programinės įrangos testavimas yra kritinė viso kūrimo proceso dalis. Kokybe privalo rūpintis ne vien testuotojai. Programuotojai turi naudoti įvairias kokybės užtikrinimo technikas, tokias kaip statinė kodo analizė (kodo peržiūra) ir vienetų testavimas. Kartais programuotojai praleidžia kodo testavimą arba atlieka tik paviršutinį testavimą, nes tai užimą jų laiką. Automatiniai testavimo įrankiai suteikia galimybes testavimo kaštų sumažinimui. Sukurta daug įvairių testavimo atvejų generavimo technikų naudojant specializuotus įrankius. Testavimo atvejų generavimo tikslas yra pasiekti kuo didesnį kodo padengimą ir rasti netikėtas klaidas. Daugumoje atvejų yra neįmanoma pasiekti visišką kodo padengimą, naudojant vien generuotus testavimo atvejus. Reikalingi testavimo atvejai, parašyti žmogaus. Logiška pakartotinai naudoti testus, kuriais buvo ištestuoti panašūs metodai anksčiau. Šiame darbe analizuojama testų pakartotino panaudojimo problema. Siūlomas sprendimas yra paremtas vienetų testų saugojimu ir pakartotinu panaudojimu lyginant testuojamą metodą ir jau ištestuotą, kuris turi išsaugotus vienetų testus. Siūlomas metodas turėtų būti naudojamas kartu su vienetų testų generavimo įrankiais. / Software testing is critical part in software development. Not only testers are responsible for software quality. Programmers should use quality assurance techniques as code static analysis (code review) and unit testing. Sometimes developers omit testing their code or perform just superficial testing because unit testing consumes development time. Automated unit testing tools provide the way for reducing of testing costs. There are various techniques for generating test cases by using specialized tools. The goal of generation of tests cases is to achieve higher code coverage and expose unexpected errors. In many cases it is impossible to achieve full code coverage by using only generated test cases. Then manual efforts are needed. It is reasonable to reuse unit tests for method similar to that already tested. This work helps to analyse unit test reusability problem. The approach presented is based on unit test storing and reusing by comparing current testing method and method that has saved tests. This method should be used in combination with particular unit test generation tool.

Page generated in 0.1028 seconds