search query: @keyword yksikkötestaus / total: 11
reference: 8 / 11
« previous | next »
Author:Mannevaara, Markus
Title:Test-Driven Development in the Field; Experiences from a Web Content Management Environment
Testdriven utveckling I praktiken; erfarenheter från en webbapplikationsmiljö
Testivetoinen ohjelmointi käytännössä; kokemuksia web-sovelluksen kehityksen parista
Publication type:Master's thesis
Publication year:2006
Pages:(8) + 76 s. + liitt. 3      Language:   eng
Department/School:Tietotekniikan osasto
Main subject:Ohjelmistotekniikka   (T-106)
Supervisor:Tarhio, Jorma
Instructor:Lindqvist, Silja
OEVS:
Electronic archive copy is available via Aalto Thesis Database.
Instructions

Reading digital theses in the closed network of the Aalto University Harald Herlin Learning Centre

In the closed network of Learning Centre you can read digital and digitized theses not available in the open network.

The Learning Centre contact details and opening hours: https://learningcentre.aalto.fi/en/harald-herlin-learning-centre/

You can read theses on the Learning Centre customer computers, which are available on all floors.

Logging on to the customer computers

  • Aalto University staff members log on to the customer computer using the Aalto username and password.
  • Other customers log on using a shared username and password.

Opening a thesis

  • On the desktop of the customer computers, you will find an icon titled:

    Aalto Thesis Database

  • Click on the icon to search for and open the thesis you are looking for from Aaltodoc database. You can find the thesis file by clicking the link on the OEV or OEVS field.

Reading the thesis

  • You can either print the thesis or read it on the customer computer screen.
  • You cannot save the thesis file on a flash drive or email it.
  • You cannot copy text or images from the file.
  • You cannot edit the file.

Printing the thesis

  • You can print the thesis for your personal study or research use.
  • Aalto University students and staff members may print black-and-white prints on the PrintingPoint devices when using the computer with personal Aalto username and password. Color printing is possible using the printer u90203-psc3, which is located near the customer service. Color printing is subject to a charge to Aalto University students and staff members.
  • Other customers can use the printer u90203-psc3. All printing is subject to a charge to non-University members.
Location:P1 Ark Aalto     | Archive
Keywords:Test-Driven Development
unit testing
code metrics
testivetoinen ohjelmointi
yksikkötestaus
koodimittarit
Abstract (fin): Tämä diplomityö esittelee kokemuksia testivetoisen ohjelmoinnin (Test-Driven Development tai TDD) käytöstä Webbisisällönhallintasovelluksen kehitystyön parissa.
TDD on ohjelmointimenetelmä, missä ohjelmoija kirjoittaa testit jokaista ominaisuutta varten ennen kyseisen ominaisuuden toteuttamista.
Menetelmän väitetään olevan käytännöllinen ja sen sanotaan vaikuttavan ohjelmakoodin laatuun myönteisesti.

Työn teoriaosassa pohditaan TDD:tä ja yksikkötestausta eri näkökulmista.
TDD:tä tutkitaan testiautomaation näkökulmasta ja havaitaan, että TDD soveltaa monia testiautomaatiossa hyväksi todettuja käytäntöjä.
Suurien yksikkötestikirjastojen vaikutusta ylläpitotyöhön pohditaan, ja tunnistetaan useampia ylläpitoa helpottavaa tekijöitä.
Menetelmän soveltuvuutta pohdittaessa tekninen ympäristö tunnistetaan merkittäväksi tekijäksi.
Testin luonnin helppoutta sekä ympäristön minimaalisuutta pidetään tärkeinä tavoitteina yksikkötestiympäristöä luodessa.

Työn käytännön osuus esittelee haasteita, joihin törmättiin menetelmää soveltaessa.
Kolmannen osapuolen ratkaisuja tutkitaan, mutta ne todetaan epäsopiviksi.
Työn aikana kehitetään oma ratkaisu, joka sallii testien helpomman luomisen ja nopeamman ajon kuin kolmannen osapuolten ratkaisut.
Lisäksi pohditaan yksityiskohtaisesti muutamaa toteutuksen aikana kohdattua ongelmaa.

Työn viimeinen osuus koostuu koodimittarien kvantitatiivisestä analyysistä.
Tätä analyysiä varten koodi on kategorisoitu sen mukaan, kirjoitettiinko testit varsinaista koodia ennen vai sen jälkeen.
Mittareiden mukaan testien kattavuus on merkittävästi suurempi, ja koodin kompleksisuus hieman pienempi, kun ohjelmoidaan testivetoisesti.
Kompleksisuudessa havaittu ero ei ollut tilastollisesti merkittävä.
ED:2006-10-23
INSSI record number: 32501
+ add basket
« previous | next »
INSSI