Unit testing Flashcards
1
Q
What is unit testing?
A
A process in software development that tests the smallest testable parts of an application(units). They are used to make sure code is working properly
2
Q
Why unit test?
A
Unit testing allows you to isolate each part of a program, and make sure those pieces are working properly.
3
Q
Benefits of unit testing?
A
Saves time, makes development easier, makes integration tests easier, reduce bugs in code, and unit tests can be a form of documentation.
4
Q
What is JUnit?
A
standardized testing framework for Java.
5
Q
What is the pattern for unit testing?
A
Arrange, Act, Assert