This repository contains solutions and JUnit 5 tests created as part of the Programming Fundamentals course.
- ✅ Java code in
src/main/java - 🧪 JUnit tests in
src/test/java - 🌐 A simple HTML CV page with styling (
cv.html,style.css) - 📄
output.jsonwith sample data
In IntelliJ IDEA:
- Open the project.
- Navigate to
src/test/java. - Right-click the folder or any test class and select "Run Tests".
Here's a sample JUnit test from the MorseTest class:
@Test
void morseTest() {
Morse m = new Morse();
String input = "Hello World!";
String expected = ".... . .-.. .-.. --- / .-- --- .-. .-.. -.-.--";
assertEquals(expected, m.morse(input));
}- Java 11+
- JUnit 5
- IntelliJ IDEA (recommended)
Jakub Kierznowski
🔗 GitHub Repo
💡 Simple tests make solid code.