Tests reports

Advent of code 2020

These are solutions for a serie of puzzles you can find here: advent of code 2020.

Technology stack

programming language

Kotlin

build sources

Maven

build documentation

Asciidoctor

test code

AssertJ & Pit-test

Running solutions

for each day you will find a dedicated package. ( e.g package day01 for the puzzles of the first day). Each will contain a .kt file with a main function ( Day01.kt for day01 puzzles, Day02.kt for day02 puzzles, etc.. )

Run this with you preferred java tool or command line.

Github ci

At each push or pull request at the main branch the github/workflows/testing.yml is launch.

Running and publishing unit tests

Unit tests are executed by maven and then published. When you are working on a pull request, results can be show as follow:

publishing failling tests
Example of publishing failling tests on a PR.
publishing successful tests
Example of publishing successful tests on a PR.

Running and archiving mutation tests

Using PIT library for running some mutation tests.

The results are archived as artifact in the action panel:

archiving mutation tests results
Example of archiving mutation tests results.