luatest icon indicating copy to clipboard operation
luatest copied to clipboard

Tarantool test framework written in Lua

Results 97 luatest issues
Sort by recently updated
recently updated
newest added

This patch adds the `assert_items_exclude(actual, expected, message)` matcher. This matcher can be useful, for example, to verify that gc is working correctly.

Now if I run a cluster that contains: 2 routers, 3 storages, 1 manager, etc I see all logs. But all tests runs only one host! I want watching only...

It's really annoying that `assert_covers` isn't recursive: ```lua t.assert_covers({x = 1, y = 2}, {x = 1}) -- ok t.assert_covers({x = {a = 1, b = 2}}, {x = {a...

bug

Tarantool: 3.1+ Reproducer: Create a following test: ```Lua local server = require('luatest.server') local t = require('luatest') local g = t.group() g.before_all(function() g.server = server:new({alias = 'master'}) g.server:start() end) g.after_all(function() g.server:stop()...

bug

In #10210 [^1] the test was silently ignored by the `luatest` since it is not containing the `test_` prefix. I propose to warn if a test contains functions without `test_`...

I get strange output if i run tests with -R flag and one of the tests fails. See repro. **Repro** Install luatest: ```shell tt rocks install luatest ``` Version: ```shell...

`Server:grep_log()` fails to find the log file if the instance was created with `config_file`. To reproduce the issue, take any Tarantool test using `test.config-luatest.cluster` and try to use `grep_log` in...

bug

Instead of configuring Tarantool test servers to write logs both to stdout and a file using the tee command, let's write all logs to stderr only and make the output...

Consider the following test case: ```lua local t = require('luatest') local server = require('luatest.server') local g = t.group() g.before_each(function(cg) cg.server = server.new() cg.server:start() end) g.after_each(function(cg) cg.server:drop() end) g.test_grep_log = function(cg)...

bug

Please remove the hooks and the logic around: https://github.com/tarantool/luatest/blob/b44612090a33cf7e8ea56af897ebc89e50380589/luatest/cluster.lua#L351-L353 The testing framework should be universal, but these hooks limit it to some specific case. As example, I can't: 1. I...