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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is JUnit?

A

standardized testing framework for Java.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the pattern for unit testing?

A

Arrange, Act, Assert

How well did you know this?
1
Not at all
2
3
4
5
Perfectly