search query: @keyword unit testing / total: 11
reference: 4 / 11
Author: | Klemetti, Marko Juhana |
Title: | Applying Test-driven Development practice in Digital Signal Processing |
Testilähtöisen kehitysmenetelmän käyttäminen digitaalisessa signaalinkäsittelyssä | |
Publication type: | Master's thesis |
Publication year: | 2010 |
Pages: | [5] + 59 + [8] Language: eng |
Department/School: | Informaatio- ja luonnontieteiden tiedekunta |
Main subject: | Informaatiotekniikka (T-115) |
Supervisor: | Simula, Olli |
Instructor: | Rantalainen, Topi |
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 CentreIn 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
Opening a thesis
Reading the thesis
Printing the thesis
|
Location: | P1 Ark Aalto 174 | Archive |
Keywords: | test-driven development unit testing refactoring digital signal processing testilähtöinen kehitys yksikkötestaus refaktorointi digitaalinen signaalinkäsittely |
Abstract (eng): | The accelerating pace of digital signal processor evolution has brought new demands to the embedded software development. The question is no longer how to implement new features, but how to make sure the existing functionalities still work after changes, and how to make sure the quality of the software does not deteriorate. By changing the code without automatic and accurate feedback, it is only natural for the code to gradually become more difficult to read and understand. This thesis presents a new paradigm for developing embedded software. Test-driven Development (TDD) is a developer practice where the design of the code is driven with automated tests. The practice can be summarized with a repeating mantra: "red - green - refactor", where the developer first writes a failing test (red), then as little code as possible to make is pass (green) and finally improves the code quality (refactor). The motivation behind Test-driven Development is that the developer lets the code emerge organically with a series of small tests instead of planning too much ahead. This leads to the developer being able to take risks with the design and make changes to the code structure throughout the development process. The feedback of the functionality becomes continuous and reliable - every test run verifies that the system still behaves as expected. While doing Test-driven development, the developers inevitably leave a test-based documentation behind, both verifying the functionality and documenting the software in a code level. In this work the Test-driven Development technique is enabled for a digital signal processing software used in a telecommunications network element Media Gateway (MGW). The implementation was carried out together with the development team, and this work describes the process and its outcome. The developers adopted the TDD paradigm successfully and the software quality began to improve significantly. This work shows that Test-driven Development is a feasible technique for improving the embedded software quality, and brings numerous advantages as compared to the traditional software development. |
Abstract (fin): | Digitaalisten signaalinkäsittelyprosessorien kiihtyvä kehitysnopeus on tuonut uusia haasteita myös sulautettujen järjestelmien suunnitteluun. Kysymys ei ole enää siitä miten ohjelmiston vaatimuksia toteutetaan vaan miten olemassa olevien toiminnallisuuksien eheys säilytetään ja miten huolehditaan siitä, että ohjelmiston laatu ei heikkene. Mikäli kehitystyöstä ei saada automaattista ja kohdennettua palautetta, on luonnollista, että ohjelmakoodista tulee vähitellen vaikeampaa lukea ja ymmärtää. Tässä työssä esitellään uusi paradigma sulautettujen järjestelmien ohjelmistokehitykseen. Testilähtöinen kehitys (TDD, Test-driven Development) on menetelmä, jossa ohjelmistokehittäjän toteutustyö ohjautuu automaattisten testien avulla. Menetelmä voidaan tiivistää mantraan: "punainen - vihreä - refaktoroi". Mantran mukaisesti kehittäjä kirjoittaa ensin epäonnistuvan testin (punainen), sen jälkeen mahdollisimman vähän ohjelmakoodia, jotta testi menee läpi (vihreä), ja lopuksi parantaa ohjelmiston rakennetta ja laatua (refaktoroi). Testilähtöisen kehityksen tarkoitus on antaa ohjelmakoodin syntyä orgaanisesti pienten testien avulla ilman pitkää etukäteissuunnittelua. Tällä tavoin kehittäjät voivat tehdä muutoksia ohjelmiston rakenteeseen koko kehityskaaren ajan ja ottaa riskejä ohjelmiston laadun parantamiseksi. Toiminnallisuuden palautteesta tulee jatkuvaa ja luotettavaa - testit varmistavat, että ohjelmisto käyttäytyy edelleen odotetulla tavalla. Lisäksi kehittäjät jättävät jälkeensä testeihin perustuvan dokumentaation, joka samanaikaisesti varmistaa olemassa olevan toiminnallisuuden ja dokumentoi järjestelmän käyttäytymisen. Tämän työn puitteissa testilähtöinen kehitysmenetelmä otettiin käyttöön digitaalisen signaalinkäsittelyn (DSP, Digital Signal Processing) ohjelmistossa, yhteistyössä järjestelmän kehittäjien kanssa. Ohjelmisto on osa kolmannen sukupolven matkapuhelinverkon laitetta, Mediayhdyskäytävää (MGW, Media Gateway). Tässä työssä kuvataan sekä menetelmän käyttöönottoprosessi että sen lopputulos. Käyttöönoton seurauksena ohjelmistokehittäjät omaksuivat testilähtöisen kehityksen paradigman ja ohjelmiston laadussa huomattiin merkittävä parannus. Tämä työ osoittaa, että testilähtöinen kehitys on hyvä ohjelmistokehitysmenetelmä sulautetuille järjestelmille ja tuo mukanaan monia etuja verrattuna perinteiseen ohjelmistokehitykseen. |
ED: | 2010-06-11 |
INSSI record number: 39793
+ add basket
INSSI