TestNg - Non solo junit

TestNg è un framework di test sviluppato per semplificare e agevolare la realizzazione di suite di unit testing e di integration testing.
Scrivere un test normalmente si basa su tre passi:

  • Scrivere le business logic dei tuoi test inserendo le annotazioni di TestNG.
  • Aggiungere delle informazioni circa i metodi di escuzione dei tuoi test, tipo: class name, groups, etc.. nel file descrittore testng.xml.
  • Eseguire i test con TestNG.

Nessun commento: