summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorMarek Vavruša <mvavrusa@cloudflare.com>2017-11-26 01:23:46 +0100
committerPetr Špaček <petr.spacek@nic.cz>2017-11-28 11:21:11 +0100
commitf41676d299309b775401994079788647d6798e8b (patch)
treed658a8ffe9744a9a9dd024b6191b2e2184a539eb /.gitignore
parentMerge branch 'docker-updates' into 'master' (diff)
downloadknot-resolver-f41676d299309b775401994079788647d6798e8b.tar.xz
knot-resolver-f41676d299309b775401994079788647d6798e8b.zip
tests/config: added a TAP-based test environment for modules/configs
I moved the test files to module directories because it allows vendoring of whole modules including tests etc. The test environment provides convenience functions and produces test output in TAP format. Ideally all tests should use a common format, so that CI can parse it provide better test output on PRs. It seems like Gitlab CI doesn't support anything yet, but there are two sort-of standards supported in CI tools - TAP and JUnit. I chose TAP because it's easier to read for humans, cmocka supports it, and it should be easier to adapt Deckard. There are also tools to convert TAP into JUnit XML file. Also added more tests for global functions and variables, and the test tool now also tracks coverage (if `luacov` is installed).
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index ae255f2c..b499e089 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,6 +18,8 @@
*.gcno
*.gcda
*.gcov
+*.info
+luacov.*.out
.dirstamp
.libs
.deps