Closed jmuleiro closed 4 months ago
hey @jmuleiro ,
@ASaiAnudeep @leelaprasadv done!
@jmuleiro do you mind updating the node versions to latest in build yaml file.
node-version: [18.x, 20.x]
@ASaiAnudeep done, also took the liberty of fixing a small ReferenceError
that occurred when the parser type was set to an unsupported parser.
@jmuleiro thanks a lot for your contributions. The new version v0.1.15 has been released.
Please use the latest version of testbeats to see your changes.
npx testbeats@latest publish -c path/to/config.json
Context
I recently started using this tool to integrate
mochawesome
reports with Slack. It turns out, in my test cases I have feature flags that cause Cypress tests to be skipped. Mochawesome has two types of skipped tests:skipped
andpending
. But as it turns out,mocha
does not. This caused the parser to interpret tests marked asskipped
by Mochawesome as failures, and to list them as such.I updated the
mocha
parser so that it deals with this issue if it findsskipped
keys in test results/suites.Changes
mocha
parserskipped
property, it adds those tests to the list of tests marked with a pending statemochawesome
test case for results with skipped, non-pending testsskipped-tests
topending-tests
to match its behavior (and updated test description)node-version
to latestReferenceError
when result type is set to unsupported parserSample file
Here's a sample JSON test result with which you can reproduce the unintended behavior: flipcard-submit.json