Introduction to Testing Flashcards

1
Q

What is Unit Testing?

A

Tests the smallest pieces of code in isolation.

Provides functional insight but not enough to evaluate the entire system’s behaviour.

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

What is System Testing?

A

Tests larger parts of the system, such as complete API.

Evaluates the entire system’s overall functionality.

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

What is Integration Testing?

A

Tests how different components or systems work together.

Ensures compatibility and smooth interaction between integrated parts.

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

What is Acceptance Testing?

A

Focuses on whether end-users can use the software as intended.

Validates that the system meets user requirements.

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

What is Regression Testing?

A

Verifies that new changes or updates do not disrupt existing functionality.

Often relies on automated tests to ensure all functionality remains intact after modifications.

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

What is Security Testing?

A

Examines the application for vulnerabilities and security issues.

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

What is Load Testing?

A

Evaluates how the system performs under heavy load.

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

What is End-to-End Testing?

A

Focuses on everything -> real-world scenario.

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

What is Test-Driven Development (TDD)?

A

Focuses on writing tests before implementing code.

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

What is the purpose of Unit Testing?

A

Validates the functionality of smaller units or components of software and helps ensure individual pieces of code perform as expected.

It forces critical thinking amongst developers for their design and structure and supports better development practices by making code easier to test and debug.

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

What is Early Bug Detection?

A

Identifies bugs early in development, preventing issues from reaching production.

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

What is Applicable to All Code?

A

Useful for both new and existing codebases, ensuring new changes don’t break existing functionality.

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

What are the long term benefits for unit testing?

A

Saves time and money by reducing costly fixes later in production and improves code quality by encouraging developers to write better, cleaner and more maintainable code.

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