Shared Flashcard Set

Details

J-Unit Qs
n/a
8
Computer Science
Undergraduate 1
05/25/2013

Additional Computer Science Flashcards

 


 

Cards

Term
What is unit testing?
Definition
It is a method by which individual units of source code are tested to determine if they are fit for use.
Term
What is a unit?
Definition
It is the smallest testable part of an application.
Term

What are some benefits of unit testing?

(Hint: 3)

Definition
Facilitates changes, Simplifies integration, and Documentation.
Term
What is a test case?
Definition
A set of conditions to determine if a program is working correctly or not.
Term
What is a test oracle?
Definition
A mechanism for determining whether a program has passed or failed.
Term
What is JUnit?
Definition
An open-source framework designed for writing and running test in Java.
Term
What is the difference between JUnit 4.x and 3.x?
Definition
4.x uses annotations, 3.x extends TestCase.
Term
In JUnit, what annotation is used to declare a Test?
Definition
@Test
Supporting users have an ad free experience!