Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Minor] Add Lua coverage collection for unit-tests (#2528) | Mikhail Galanin | 2018-09-25 | 1 | -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 test | Mikhail Galanin | 2018-09-24 | 1 | -0/+30 |
| | |||||
* | [Test] Final cases for selectors - register_* and functional for regexps | Mikhail Galanin | 2018-09-24 | 5 | -1/+98 |
| | |||||
* | [Minor] Fix test cases | Vsevolod Stakhov | 2018-09-23 | 2 | -5/+5 |
| | |||||
* | Revert "[Test] Check selector before processing" | Vsevolod Stakhov | 2018-09-22 | 1 | -17/+16 |
| | | | | This reverts commit baceaa985ebbb23ae7d26a2050f50bfd9544b85c. | ||||
* | [Test] Check selector before processing | Vsevolod Stakhov | 2018-09-22 | 1 | -16/+17 |
| | |||||
* | [Test] More test cases for selectors | Mikhail Galanin | 2018-09-21 | 3 | -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 renderer | Mikhail Galanin | 2018-09-21 | 1 | -3/+2 |
| | |||||
* | [Test] Use init_url() frim the new helper | Mikhail Galanin | 2018-09-21 | 3 | -26/+7 |
| | |||||
* | [Test] Added test helper module | Mikhail Galanin | 2018-09-21 | 1 | -0/+18 |
| | |||||
* | Merge pull request #2510 from negram/more-test | Vsevolod Stakhov | 2018-09-20 | 1 | -11/+25 |
|\ | | | | | [Test] more tests | ||||
| * | [Test] more tests | Mikhail Galanin | 2018-09-20 | 1 | -11/+25 |
| | | |||||
* | | [Test] Nicely print table difference when they do not match | Mikhail Galanin | 2018-09-20 | 1 | -1/+106 |
|/ | |||||
* | [Test] Enable one more now-working test-case | Mikhail Galanin | 2018-09-20 | 1 | -7/+6 |
| | |||||
* | [Test] We don't this chek inside the test anymore. We have command-line ↵ | Mikhail Galanin | 2018-09-20 | 1 | -6/+0 |
| | | | | param instead | ||||
* | [Test] Pass test-case patten into test engine | Mikhail Galanin | 2018-09-20 | 3 | -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 working | Mikhail Galanin | 2018-09-20 | 1 | -51/+28 |
| | |||||
* | Merge pull request #2502 from negram/selectors-test | Vsevolod Stakhov | 2018-09-19 | 1 | -0/+228 |
|\ | | | | | [Test] Few "basic" test cases for selectors | ||||
| * | Merge branch 'master' into selectors-test | Mikhail Galanin | 2018-09-19 | 2 | -0/+22 |
| |\ | |||||
| * | | [Test] Few "basic" test cases for selectors | Mikhail Galanin | 2018-09-19 | 1 | -0/+228 |
| | | | |||||
* | | | Merge pull request #2503 from negram/test-update | Vsevolod Stakhov | 2018-09-19 | 1 | -4/+2 |
|\ \ \ | | | | | | | | | [Test] Rewrote test using new assertion | ||||
| * | | | [Test] Rewrote test using new assertion | Mikhail Galanin | 2018-09-19 | 1 | -4/+2 |
| | |/ | |/| | |||||
* / | | [Test] Added key to run specifig lua-test | Mikhail Galanin | 2018-09-19 | 2 | -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 use | Mikhail Galanin | 2018-09-19 | 2 | -0/+22 |
|/ | |||||
* | [Test] Init URL parser before running unit tests | Mikhail Galanin | 2018-09-19 | 1 | -0/+1 |
| | |||||
* | [Test] Input data for the last test case | Mikhail Galanin | 2018-09-18 | 1 | -0/+2 |
| | |||||
* | [Test] Added test for case "hello.\nagain" | Mikhail Galanin | 2018-09-18 | 2 | -0/+7 |
| | |||||
* | [Test] Forgotten config | Mikhail Galanin | 2018-09-18 | 1 | -0/+46 |
| | |||||
* | [Test] Test for regexps in {sa_body} and urls with newlines | Mikhail Galanin | 2018-09-18 | 3 | -0/+62 |
| | |||||
* | [Fix] Fix more issues with watching of async events | Vsevolod Stakhov | 2018-09-12 | 1 | -0/+3 |
| | |||||
* | Merge pull request #2485 from negram/dns-api-test | Vsevolod Stakhov | 2018-09-12 | 3 | -0/+92 |
|\ | | | | | [Test] Added test for DNS api | ||||
| * | [Minor] Removed extra whitespace | Mikhail Galanin | 2018-09-12 | 1 | -1/+1 |
| | | |||||
| * | [Test] Added test for DNS api | Mikhail Galanin | 2018-09-12 | 3 | -0/+92 |
| | | |||||
* | | [Minor] Removed unused variable | Mikhail Galanin | 2018-09-12 | 1 | -1/+0 |
| | | |||||
* | | [Test] Added test for new version of Redis API | Mikhail Galanin | 2018-09-12 | 3 | -3/+32 |
|/ | |||||
* | Merge branch 'master' into redis-coroutines | Mikhail Galanin | 2018-09-11 | 1 | -0/+41 |
|\ | |||||
| * | [Test] Mark error with symbol in response | Mikhail Galanin | 2018-09-10 | 1 | -1/+6 |
| | | |||||
| * | [Test] Added test case for error handling check | Mikhail Galanin | 2018-09-10 | 1 | -0/+41 |
| | | |||||
* | | [Test] Added test for Redis API | Mikhail Galanin | 2018-09-10 | 8 | -7/+243 |
|/ | |||||
* | Merge pull request #2476 from negram/fix-milter-test | Vsevolod Stakhov | 2018-09-10 | 7 | -11/+16 |
|\ | | | | | Fix milter test | ||||
| * | [Test] More debug info | Mikhail Galanin | 2018-09-10 | 1 | -0/+2 |
| | | |||||
| * | [Test] Mark "connection" resource as freed | Mikhail Galanin | 2018-09-10 | 1 | -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 require | Mikhail Galanin | 2018-09-10 | 5 | -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-mock | Vsevolod Stakhov | 2018-09-10 | 1 | -0/+35 |
|\ \ | | | | | | | [Test] One more domain to faking records | ||||
| * | | [Test] More fake recors | Mikhail Galanin | 2018-09-10 | 1 | -0/+25 |
| | | | | | | | | | | | | to fix "SPF DNSFAIL FAILED A" and "SPF DNSFAIL FAILED MX" cases | ||||
| * | | [Test] And another fake domain | Mikhail Galanin | 2018-09-10 | 1 | -0/+5 |
| | | | | | | | | | | | | Used in "Blacklist" test and slows it down when no connection | ||||
| * | | [Test] One more domain to faking records | Mikhail Galanin | 2018-09-10 | 1 | -0/+5 |
| |/ | |||||
* | | Merge branch 'master' into rspamadm-coroutines | Mikhail Galanin | 2018-09-10 | 7 | -31/+85 |
|\| | |||||
| * | [Test] Small refactoring in dummy services test | Mikhail Galanin | 2018-09-07 | 6 | -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 run | Mikhail Galanin | 2018-09-06 | 1 | -0/+5 |
| | |