connor4312 / connor4312/nodejs-testing

Subtests not reported as expected.

Open
#55 8 comments 3 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
67
Forks
15
PR merge metrics
No merged PRs in 30d

Description

When writing a test with subtests, the test explorer doesn't list the subtests and the subtests are not reported in the test results. Furthermore, when an error occurs the message that appears in the editor will just say some count of subtests failed, rather than specifying which one failed and what error occurred.

However when running the same tests directly with Node, a full report is generated that lists all the subtests along with timings, success/failure, and all full error messages will be printed.

As a result, it is at times necessary to run tests in the terminal rather than the test runner in order to debug them properly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.