Skip to content

Demo Proposal: CI Pipeline with Integration Testing Against a Real Database - #2977

Merged
algomaster99 merged 2 commits into
KTH:2026from
FMurkz:2026
Sep 3, 2026
Merged

Demo Proposal: CI Pipeline with Integration Testing Against a Real Database#2977
algomaster99 merged 2 commits into
KTH:2026from
FMurkz:2026

Conversation

@FMurkz

@FMurkz FMurkz commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Assignment Proposal

Title

CI Pipeline with Integration Testing Against a Real Database

Names and KTH ID

Deadline

Week 2

Category

Demo

Description

The demo will demonstrate a basic CI pipeline with two levels of tests: integration tests alongside unit tests.
We will build a simple shopping list app backed up by a MySQL database as an external service.
The CI pipeline (GitHub Actions) will run on every push/PR.

We will focus on why multiple levels of testing are essential and why unit tests may not be enough.
Unit tests typically run against mocked or simulated data, so they can pass even when the underlying logic has a
flaw that only appears when interacting with real data or real databases' behaviour, such as constraints, data types, or case-sensitivity,
that a mock won't enforce. Code can look fine in isolation but fail when interacting with other components.

Relevance
Continuous Integration is a core DevOps practice: automatically testing every change catches problems early, before they reach production.
Running multiple levels of tests matters because some bugs won't surface until the code interacts with external services.

Updated the README to reflect team members and clarified the
@github-actions github-actions Bot added the demo One of the task categories listed in README.md label Sep 3, 2026
@algomaster99 algomaster99 self-assigned this Sep 3, 2026

@algomaster99 algomaster99 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great proposal! Looking forward to the demo.

We will focus on why multiple levels of testing are essential and why unit tests may not be enough.
Unit tests typically run against mocked or simulated data, so they can pass even when the underlying logic has a
flaw that only appears when interacting with real data or real databases' behaviour, such as constraints, data types, or case-sensitivity,
that a mock won't enforce. Code can look fine in isolation but fail when interacting with other components.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this idea. Would love to see emphasis on shortcomings in the mock testing.

@algomaster99
algomaster99 merged commit 4538b66 into KTH:2026 Sep 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

demo One of the task categories listed in README.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants