Unit Testing and GitLab CI Quiz

Unit Testing and GitLab CI Quiz

Professional Development

7 Qs

quiz-placeholder

Similar activities

GitLab Architecture

GitLab Architecture

Professional Development

6 Qs

Quiz sur le déploiement continu

Quiz sur le déploiement continu

Professional Development

8 Qs

Lesson01 Quiz

Lesson01 Quiz

Professional Development

11 Qs

OSS Industry & Collaboration

OSS Industry & Collaboration

Professional Development

6 Qs

Fabric

Fabric

Professional Development

9 Qs

Quiz sobre Git Flow

Quiz sobre Git Flow

Professional Development

9 Qs

Prof.Kazuo QUIZZ 1

Prof.Kazuo QUIZZ 1

Professional Development

10 Qs

Software Testing Quiz

Software Testing Quiz

Professional Development

10 Qs

Unit Testing and GitLab CI Quiz

Unit Testing and GitLab CI Quiz

Assessment

Quiz

Information Technology (IT)

Professional Development

Hard

Created by

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