Closed orjangj closed 5 months ago
Namespaces are marked failed if tests outside the namespace is failing. Even if tests within the namespace are passing.
minimal example of when a namespace will be marked as failed:
#include <catch2/catch_test_macros.hpp> namespace example { <--- marked as failed TEST_CASE("First", "[first]") { REQUIRE(true); } } TEST_CASE("Second", "[second]") { REQUIRE(false); }
To trigger the bug, run the command require("neotest").run.run(vim.fn.expand("%")) to execute all tests within the file
require("neotest").run.run(vim.fn.expand("%"))
Namespaces are marked failed if tests outside the namespace is failing. Even if tests within the namespace are passing.
minimal example of when a namespace will be marked as failed:
To trigger the bug, run the command
require("neotest").run.run(vim.fn.expand("%"))
to execute all tests within the file