Skip to content

Test runner: subtests failures are not ignored when parent has todo #59719

Description

@MoLow

Version

v25.0.0-pre

Platform

all

Subsystem

test_runner

What steps will reproduce the bug?

several different reproductions:

test.todo('aaa', (t) => {
  t.test('bbb', () => assert.ok(false));
})
describe.todo('aaa', () => {
  test('bbb', () => assert.ok(false));
})

these result in a 1 exit code, instead of 0

How often does it reproduce? Is there a required condition?

allwas

What is the expected behavior? Why is that the expected behavior?

should return a 0 exit code

What do you see instead?

exit code 1

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues and PRs for confirmed bugs.test_runnerIssues and PRs related to the test runner subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions