Testing Glossary

List of the most important software testing terms and their meaning:

  • jUnit (http://junit.org/) is the most popular Java test framework. It allows automatic tests execution and results summary.
  • Mock is a class instance where all behavior (code) has been removed. Mocking is the main solution to “break” dependencies of a class so we can test its code in isolation (unit test).
  • Mockito (http://mockito.org/) is a mocking library which can be used to dynamically create mocks and partial mocks (spies) out of the dependencies of our class to be tested.
  • Partial Mock or spy is a mock where the original code is still present but under the control of the mocking library.
  • PowerMock (https://code.google.com/p/powermock/) is a mocking library which extends Mockito library to private, static, final methods and classes.
  • Stubbing a method means override its real return value with another one. This is a convenient solution to create different testing configurations (test fixtures).
  • TestNG (http://testng.org/) is another popular Java test framework.
  • Test impediment is a dependency in the code under test which is an obstacle to the fast and repeatable test execution. Typical examples include web service calls, access to the file-system or to a database.

 Not found here. Have a look at the Standard Glossary of Terms used in Software Testing document prepared by the International Software Testing Qualifications Board and available here

Advertisements

One thought on “Testing Glossary

  1. Pingback: Tutorial: Java abstract classes testing | Gualtiero Testa

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s