Commit Graph

5 Commits

Author SHA1 Message Date
Mikhail Galanin
70571f2b55 [Minor] Add Lua coverage collection for unit-tests (#2528)
* [Minor] Add Lua coverage collection for unit-tests

* [Minor] add coverage collection to CircleCI

* [Minor] split into two lines

* [Minor] sudo

* [Minor] fixed nonsense

* [Minor] Fix functional test
2018-09-25 15:22:28 +01:00
Mikhail Galanin
99b68e8e51 [Test] Pass test-case patten into test engine
So that now we can set which test cases should be runned:

$ ./test/rspamd-test -p /rspamd/lua -t selectors.lua -c "case .* rcpts"
$ ./test/rspamd-test -p /rspamd/lua -c "case 1st rcpts"

-c accepts Lua-pattern
2018-09-20 11:26:36 +01:00
Mikhail Galanin
bd3b9f376e [Test] Assertions for table comparsion that are nicer to use 2018-09-19 14:51:01 +01:00
Vsevolod Stakhov
c0cb4e65ad Adopt RSA test for telescope. 2015-02-28 00:24:13 +00:00
Vsevolod Stakhov
e4cc017c5d Rework lua tests one more time. 2015-02-28 00:11:56 +00:00