aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Add Lua coverage collection for unit-tests (#2528)Mikhail Galanin2018-09-251-1/+14
| | | | | | | | | | | | | | * [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
* [Test] Actually the functional testMikhail Galanin2018-09-241-0/+30
|
* [Test] Final cases for selectors - register_* and functional for regexpsMikhail Galanin2018-09-245-1/+98
|
* [Minor] Fix test casesVsevolod Stakhov2018-09-232-5/+5
|
* Revert "[Test] Check selector before processing"Vsevolod Stakhov2018-09-221-17/+16
| | | | This reverts commit baceaa985ebbb23ae7d26a2050f50bfd9544b85c.
* [Test] Check selector before processingVsevolod Stakhov2018-09-221-16/+17
|
* [Test] More test cases for selectorsMikhail Galanin2018-09-213-1/+315
| | | | Also added negative cases (i.e. it doesn't work when it shouldn't) and combinations of selectors
* [Test] Small fixes on diff rendererMikhail Galanin2018-09-211-3/+2
|
* [Test] Use init_url() frim the new helperMikhail Galanin2018-09-213-26/+7
|
* [Test] Added test helper moduleMikhail Galanin2018-09-211-0/+18
|
* Merge pull request #2510 from negram/more-testVsevolod Stakhov2018-09-201-11/+25
|\ | | | | [Test] more tests
| * [Test] more testsMikhail Galanin2018-09-201-11/+25
| |
* | [Test] Nicely print table difference when they do not matchMikhail Galanin2018-09-201-1/+106
|/
* [Test] Enable one more now-working test-caseMikhail Galanin2018-09-201-7/+6
|
* [Test] We don't this chek inside the test anymore. We have command-line ↵Mikhail Galanin2018-09-201-6/+0
| | | | param instead
* [Test] Pass test-case patten into test engineMikhail Galanin2018-09-203-1/+16
| | | | | | | | | 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
* [Test] Uncommented cases which are now workingMikhail Galanin2018-09-201-51/+28
|
* Merge pull request #2502 from negram/selectors-testVsevolod Stakhov2018-09-191-0/+228
|\ | | | | [Test] Few "basic" test cases for selectors
| * Merge branch 'master' into selectors-testMikhail Galanin2018-09-192-0/+22
| |\
| * | [Test] Few "basic" test cases for selectorsMikhail Galanin2018-09-191-0/+228
| | |
* | | Merge pull request #2503 from negram/test-updateVsevolod Stakhov2018-09-191-4/+2
|\ \ \ | | | | | | | | [Test] Rewrote test using new assertion
| * | | [Test] Rewrote test using new assertionMikhail Galanin2018-09-191-4/+2
| | |/ | |/|
* / | [Test] Added key to run specifig lua-testMikhail Galanin2018-09-192-1/+42
|/ / | | | | | | | | | | | | example: $ ./test/rspamd-test -p /rspamd/lua -t selectors.lua no way to run two test suites atm
* / [Test] Assertions for table comparsion that are nicer to useMikhail Galanin2018-09-192-0/+22
|/
* [Test] Init URL parser before running unit testsMikhail Galanin2018-09-191-0/+1
|
* [Test] Input data for the last test caseMikhail Galanin2018-09-181-0/+2
|
* [Test] Added test for case "hello.\nagain"Mikhail Galanin2018-09-182-0/+7
|
* [Test] Forgotten configMikhail Galanin2018-09-181-0/+46
|
* [Test] Test for regexps in {sa_body} and urls with newlinesMikhail Galanin2018-09-183-0/+62
|
* [Fix] Fix more issues with watching of async eventsVsevolod Stakhov2018-09-121-0/+3
|
* Merge pull request #2485 from negram/dns-api-testVsevolod Stakhov2018-09-123-0/+92
|\ | | | | [Test] Added test for DNS api
| * [Minor] Removed extra whitespaceMikhail Galanin2018-09-121-1/+1
| |
| * [Test] Added test for DNS apiMikhail Galanin2018-09-123-0/+92
| |
* | [Minor] Removed unused variableMikhail Galanin2018-09-121-1/+0
| |
* | [Test] Added test for new version of Redis APIMikhail Galanin2018-09-123-3/+32
|/
* Merge branch 'master' into redis-coroutinesMikhail Galanin2018-09-111-0/+41
|\
| * [Test] Mark error with symbol in responseMikhail Galanin2018-09-101-1/+6
| |
| * [Test] Added test case for error handling checkMikhail Galanin2018-09-101-0/+41
| |
* | [Test] Added test for Redis APIMikhail Galanin2018-09-108-7/+243
|/
* Merge pull request #2476 from negram/fix-milter-testVsevolod Stakhov2018-09-107-11/+16
|\ | | | | Fix milter test
| * [Test] More debug infoMikhail Galanin2018-09-101-0/+2
| |
| * [Test] Mark "connection" resource as freedMikhail Galanin2018-09-101-1/+4
| | | | | | | | mt.disconnect() performs free(). If we call it twice with the same argument, we will get double free()
| * [Test] Use dofile instead of requireMikhail Galanin2018-09-105-10/+10
| | | | | | | | require implies module loading via standard mechanism (which is have to present in LUA_PATH). Here we just load the specific files.
* | Merge pull request #2475 from negram/dnssec-mockVsevolod Stakhov2018-09-101-0/+35
|\ \ | | | | | | [Test] One more domain to faking records
| * | [Test] More fake recorsMikhail Galanin2018-09-101-0/+25
| | | | | | | | | | | | to fix "SPF DNSFAIL FAILED A" and "SPF DNSFAIL FAILED MX" cases
| * | [Test] And another fake domainMikhail Galanin2018-09-101-0/+5
| | | | | | | | | | | | Used in "Blacklist" test and slows it down when no connection
| * | [Test] One more domain to faking recordsMikhail Galanin2018-09-101-0/+5
| |/
* | Merge branch 'master' into rspamadm-coroutinesMikhail Galanin2018-09-107-31/+85
|\|
| * [Test] Small refactoring in dummy services testMikhail Galanin2018-09-076-30/+78
| | | | | | | | | | Moved code for pid writing and terminating into a separated module. Also added cleanup: in some cases, processes remained in the system after test is done. It should not happen anymore
| * [Test] Added check if there was no segfault during the test runMikhail Galanin2018-09-061-0/+5
| |