JHacks
[ start | index | login or register ]
topics > test

test

Created by kocka. Last edited by kocka, one year and 90 days ago. Viewed 523 times. #8
[diff] [history] [edit] [rdf]
labels
attachments
A teszt nelkuli kod nem program hanem bughalmaz.

A legprimitívebb tesztelés ott kezdődik hogy minden tesztelendő osztályba betolnak egy public static void main-t. Ekkor már nem mondhatjuk hogy a kód soha nem futott, azt viszont igen, hogy nincsen tesztelve.

Teszt frameworkok:

A junit nagy első befutó volt a témában, ezer éves library, igazság szerint talán kicsit kiöregedett a java 1.5 táján, ekkor alaposan megelőzte a testNG feature téren, azóta feljött a junit is elég alaposan.

Snippek ez alatt:

blogok a temaban:

Lasd meg: xp, continuous integration, functional testing, unit testing

no comments | post comment
snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt