1
0
Fork 0
mirror of https://github.com/pnx/neotest-phpunit synced 2026-06-16 03:54:55 +02:00

Replace PHPUnit

This commit is contained in:
Michael Utz 2022-11-15 23:32:18 +03:00
parent 258e9d4ea7
commit eb1597c9bc

View file

@ -3,7 +3,7 @@ local logger = require("neotest.logging")
local M = {}
local separator = "::"
---Generate an id which we can use to match Treesitter queries and PHPUnit tests
---Generate an id which we can use to match Treesitter queries and Pest tests
---@param position neotest.Position The position to return an ID for
---@param namespace neotest.Position[] Any namespaces the position is within
---@return string
@ -58,7 +58,7 @@ local function make_outputs(test, output_file)
local test_attr = test["_attr"] or test[1]["_attr"]
local test_id = test_attr.file .. separator .. test_attr.line
logger.info("PHPUnit id:", { test_id })
logger.info("Pest id:", { test_id })
local test_output = {
status = "passed",