Testing Flashcards

Learn about unit testing and function testing

1
Q

What is a unit test?

A

A unit test is a software testing method that verifies the functionality of small isolated components or units of code. Such as functions or methods to ensure they work as intended.

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

What do unit tests focus on?

A

Unit tests focus on the smallest testable parts of an application such as functions, methods and classes.

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

How are unit tests designed?

A

Unit tests are designed to be independent and run in isolation, meaning they don’t rely on external dependencies or other parts of the application.

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

What is the purpose of unit testing?

A

The purpose of unit testing is to catch and fix bugs early in the development process, leading to cleaner more reliable code.

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

What are the benefits of unit testing?

A

The benefits of unit testing are:
-Early bug detection
-Improved code quality
-Simplified integration
-Documentation

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

How does unit testing help with
bug detection?

A

Unit testing helps with bug detection by helps to identify issues early which makes them cheaper and easier to fix.

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

How does unit testing help improve code quality?

A

Unit testing helps to improve code quality by ensuring each unit works correctly which contributes to a higher code quality overall.

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

How does unit testing help with integration?

A

Unit testing helps with integration as it will let you know that each unit functions correctly, which means that integrating them into a larger system will be easier and result in less errors.

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

How does unit testing help with documentation?

A

Unit testing helps with documentation because unit tests can also serve as a form of documentation which helps to illustrate how the code is meant to work.

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

What is feature testing?

A

Feature testing is a type of testing that focuses on verifying the functionality of specific features or functionalities within an application and ensure that they work as intended.

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

What is the purpose of feature testing?

A

The primary goal of feature testing is to ensure that individual features whether new or modified, function correctly and deliver an improved user experience.

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

What does feature testing involve?

A

Feature testing involves verifying that a specific functionality works as expected, including testing different variations of the feature to determine the best user experience.

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

Why is feature testing important?

A

Feature testing is crucial for identifying potential issues early in the software development life cycle, reducing costly fixes later on and ensuring the quality of the final product.

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