You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I found that neotest-go adapter here has a code like these
localtest_statuses= {
-- ...pass="passed", -- the test passedfail="failed", -- the test or benchmark failedskip="skipped", -- the test was skipped or the package contained no tests
}
I think that probably other adapters use similar declarations to set the status field of a neotest.Result Maybe these constants could be defined in neotest, that way all plugins could use it and we avoid code duplication, maybe a module like neotest.lib.constants would be cool.
I personally use these other constants too when computing command field of the neotest.RunSpec.
Hi, I am developing an adapter to integrate neotest with hardhat. I have a code like these
And I found that neotest-go adapter here has a code like these
I think that probably other adapters use similar declarations to set the
status
field of aneotest.Result
Maybe these constants could be defined in neotest, that way all plugins could use it and we avoid code duplication, maybe a module likeneotest.lib.constants
would be cool.I personally use these other constants too when computing
command
field of theneotest.RunSpec
.The text was updated successfully, but these errors were encountered: