Skip to content

No coverage when Cluster is created inside helper.lua #151

Open
@opomuc

Description

@opomuc

Luatest v0.5.3 (with 0.5.0 it works correctly)

Steps to reproduce using cartridge-cli:

cartridge create --name myapp
cd myapp
cartridge build
tarantoolctl rocks install luatest 0.5.3
tarantoolctl rocks install luacov

.rocks/bin/luatest --coverage -v
.rocks/bin/luacov .

cat tmp/luacov.report.out

The result will be an empty report.

It works on v0.5.0, but if you move Cluster object creation and cluster start from test/helper.lua to test/integration/api_test.lua you will get the report back

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions