Vsevolod Stakhov
b4442b41ba
[Minor] Add rspamd_str_make_utf_valid routine + unit tests
5 years ago
Vsevolod Stakhov
e278006a10
[Minor] Pet luacheck
5 years ago
Vsevolod Stakhov
79c94a99ba
[Test] Try to fix test segfault
5 years ago
Mikhail Galanin
9dddef61cc
[Test] fixed unit test
5 years ago
Mikhail Galanin
4d4119d3c3
[Test] one more test case
5 years ago
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
5 years ago
Mikhail Galanin
31270b9fa0
[Test] Final cases for selectors - register_* and functional for regexps
5 years ago
Vsevolod Stakhov
eb644d5f13
Revert "[Test] Check selector before processing"
This reverts commit baceaa985e
.
5 years ago
Vsevolod Stakhov
baceaa985e
[Test] Check selector before processing
5 years ago
Mikhail Galanin
dc5e04b98e
[Test] More test cases for selectors
Also added negative cases (i.e. it doesn't work when it shouldn't) and combinations of selectors
5 years ago
Mikhail Galanin
da4067b0dc
[Test] Small fixes on diff renderer
5 years ago
Mikhail Galanin
90c979e64e
[Test] Use init_url() frim the new helper
5 years ago
Mikhail Galanin
0b0cad929f
[Test] Added test helper module
5 years ago
Mikhail Galanin
a411591033
[Test] Nicely print table difference when they do not match
5 years ago
Mikhail Galanin
68be6b0567
[Test] more tests
5 years ago
Mikhail Galanin
a29439606c
[Test] Enable one more now-working test-case
5 years ago
Mikhail Galanin
abea727a9e
[Test] We don't this chek inside the test anymore. We have command-line param instead
5 years ago
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
5 years ago
Mikhail Galanin
4bb33df06c
[Test] Uncommented cases which are now working
5 years ago
Mikhail Galanin
90e1a1f4ea
[Test] Rewrote test using new assertion
5 years ago
Mikhail Galanin
27689aa22f
[Test] Few "basic" test cases for selectors
5 years ago
Mikhail Galanin
bd3b9f376e
[Test] Assertions for table comparsion that are nicer to use
5 years ago
Vsevolod Stakhov
2c5620474d
[Test] Remove legacy tokenizer tests
5 years ago
Vsevolod Stakhov
4201529a7c
[Minor] Fix entities decoding
5 years ago
Mikhail Galanin
5dd0a6b7fb
[Minor] Benchmark for lua calls
5 years ago
Mikhail Galanin
daa0c73eee
[Minor] added test parsing html/phished urls
6 years ago
Vsevolod Stakhov
fb3cfd2368
[Fix] Avoid one extra byte writing
6 years ago
Vsevolod Stakhov
1333bbcf81
[Feature] Implement parsing of scoped IPv6 addresses
6 years ago
Mikhail Galanin
48b89787a5
[Minor] Pass params via table instead of long arglist. Added esld_limit param to lua_util.extract_specific_urls()
6 years ago
Vsevolod Stakhov
8a64455c56
[Test] Add received headers parsing unit tests
6 years ago
Vsevolod Stakhov
0a390cfc72
[Minor] Reduce speed test cycles in unit tests
6 years ago
Vsevolod Stakhov
fc5da89335
[Minor] Fix more tests
6 years ago
Vsevolod Stakhov
a33a4c9e7b
[Test] Fix html unit test
6 years ago
Vsevolod Stakhov
73c88c4437
[Test] Another fix for folding tests
6 years ago
Vsevolod Stakhov
d972da305c
[Test] Fix folding unit tests
6 years ago
Vsevolod Stakhov
4cd157f07b
[Test] Improve folding tests
6 years ago
Vsevolod Stakhov
9f626b1f79
[Minor] Fix ac-trie test case as it cannot deal with \0
6 years ago
Vsevolod Stakhov
92387a131c
[Test] Improve trie unit testing
6 years ago
Vsevolod Stakhov
8160aa8038
[Test] Improve tokenization tests
6 years ago
Vsevolod Stakhov
814691082a
[Test] Fix email address parsing test
6 years ago
Vsevolod Stakhov
1d3e32fe02
[Test] Improve URL unit tests
6 years ago
Vsevolod Stakhov
d85fd8877d
[Fix] Fix folding and folding tests
6 years ago
Vsevolod Stakhov
ea9d518099
[Fix] Fix lua RSA verify and its tests
6 years ago
Vsevolod Stakhov
a78961b427
[Minor] Variuous unit tests fixes
6 years ago
Vsevolod Stakhov
44b9961895
[Fix] Plug memory leak when setting email addresses from Lua
+ Optimize emails addr structure and API
MFH: rspamd-1.6
6 years ago
Andrew Lewis
af4c44e361
[Test] Fix tests
6 years ago
Alexander Moisseev
a1f9bef02f
[Refactor] Correct misspelled messages in tests
7 years ago
Alexander Moisseev
bb5a9f8e45
[Minor] Massive spelling correction
by a bot https://github.com/ka7/misspell_fixer
7 years ago
Vsevolod Stakhov
8fbd198065
[Minor] Refactor destroy -> free
7 years ago
Pragadeesh C
a69b112bf7
html content extraction test improv
7 years ago