
Unit Testing and GitLab CI Quiz

Quiz
•
Information Technology (IT)
•
Professional Development
•
Hard
Koray Incki
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of unit tests in software development?
Test the entire software system
Verify individual functions or methods
Run integration tests
Replace manual testing entirely
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a GitLab CI pipeline configuration, how can you run multiple jobs concurrently?
Define multiple scripts in one job
Place the jobs in the same pipeline stage
Assign different runners to each job
Use a separate .parallel stage
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are unit tests placed at the bottom of the testing pyramid?
They are the slowest to run
They are least important
They test system-wide integrations
They are fast, numerous, and provide quick feedback
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is parallel job execution beneficial in GitLab pipelines?
It speeds up the pipeline by running multiple jobs simultaneously
It simplifies debugging
It merges jobs into one large job
It reduces the total number of jobs
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you remove the stages configuration from a GitLab pipeline?
The pipeline automatically stops working
GitLab applies default stages (.pre, build, test, deploy, .post)
Jobs run randomly
The pipeline fails
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a JUnit report in a CI pipeline?
A console-only output
A detailed XML test results file
A performance monitoring tool
A manual testing guide
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following artifact configuration achieve in a GitLab CI job?
Generates a JUnit test report
Publishes artifacts only if the job passes
Publishes the artifact regardless of job success or failure
Publishes a JUnit test report
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade