De Software testing
Ir para: navegação, pesquisa


  • A stub is a unit that replaces another unit used by the unit under test during unit testing. <bib>vincenzi-etal:2007</bib>
  • Usually, a stub is a unit that simulates the expected behavior of the used unit with minimum computation effort or data manipulation. <bib>vincenzi-etal:2007</bib>


  • Stubs are used to test a unit which depends on another one to the executed. <bib>vincenzi-etal:2007:slides</bib>
  • Stubs are used to simulate the behaviour of a unit not yet implemented which the unit under test depends upon. <bib>delamaro:slides:2009</bib>