
Unit Testing Flashcard
Flashcard
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

19 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What does the "Arrange-Act-Assert" pattern refer to in unit testing?
Back
A structure for writing test methods that separates setup, execution, and verification.
2.
FLASHCARD QUESTION
Front
Which of these is a key characteristic of a good unit test? Options: Tests multiple components at once, Runs quickly, Requires a database connection, Changes behavior based on environment
Back
Runs quickly
3.
FLASHCARD QUESTION
Front
What is a "mock" in unit testing?
Back
A way to simulate the behavior of real objects.
4.
FLASHCARD QUESTION
Front
Which popular mocking framework is specifically designed for .NET? Options: JMock, MockJS, Moq, EasyMock
Back
Moq
5.
FLASHCARD QUESTION
Front
What does the term "Code Coverage" refer to?
Back
The proportion of your code that is executed during tests.
6.
FLASHCARD QUESTION
Front
Which pattern is commonly used to make code more testable by removing direct dependencies? Options: Singleton Pattern, Dependency Injection, Observer Pattern, Builder Pattern
Back
Dependency Injection
7.
FLASHCARD QUESTION
Front
Which of the following is NOT a benefit of unit testing? Options: Finds integration issues between systems, Provides documentation of code behavior, Facilitates good design, Helps with regression testing
Back
Finds integration issues between systems
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Understanding Protein Synthesis Processes
Flashcard
•
11th Grade - University
20 questions
Work Readiness Skills Flashcard
Flashcard
•
12th Grade - University
14 questions
Hammurabi's Code
Flashcard
•
KG - University
15 questions
CPEN Flashcard Selection
Flashcard
•
University
15 questions
Costandi EOC Biology Exam Review
Flashcard
•
KG - University
16 questions
8th Grade STAAR Review US History
Flashcard
•
KG - University
15 questions
AP Statistics Semester Exam Review - Unit 3 MC
Flashcard
•
12th Grade - University
15 questions
ATP/ADP Cycle
Flashcard
•
12th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University