[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] Add new unit tests
From: |
Mathieu Lirzin |
Subject: |
[PATCH 0/3] Add new unit tests |
Date: |
Mon, 18 May 2020 12:54:49 +0200 |
Hello,
Here are some extra unit tests for Mcron. Feel free to run them on your
system and report if they fail.
With those tests, we now have more than 80% of line coverage for unit
tests which is a pretty good metric. You can see the precise coverage
measurements by running the following commands:
make check SCM_LOG_DRIVER_FLAGS="--coverage=yes"
genhtml tests/*.info --output-directory out
I will commit those patches in a week if nobody disagree.
Mathieu Lirzin (3):
vixie-time: Remove calls to 'pk' debugging facility
tests: Check (mcron vixie-specification)
tests: Check (mcron redirect)
Makefile.am | 2 +
src/mcron/redirect.scm | 12 ++-
src/mcron/vixie-time.scm | 4 +-
tests/redirect.scm | 53 +++++++++++++
tests/vixie-specification.scm | 144 ++++++++++++++++++++++++++++++++++
5 files changed, 209 insertions(+), 6 deletions(-)
create mode 100644 tests/redirect.scm
create mode 100644 tests/vixie-specification.scm
--
2.20.1
- [PATCH 0/3] Add new unit tests,
Mathieu Lirzin <=