Skip to content

it.only and it.skip tests disappear from test list #33

Description

@mtharrison

Tests marked with it.only or it.skip are not shown in the extension's test list and cannot be run via the extension.

Current behaviour

Tests with .only or .skip modifiers are completely hidden from the test explorer.

Problem

This can cause confusion when a developer accidentally leaves an it.only in their code - they won't notice the test is missing from the list.

Suggested behaviour

Show it.only and it.skip tests in the list but visually indicate their status (e.g., greyed out, with an icon, or a different styling) so it's clear these tests have modifiers applied.

This makes it obvious when tests have been isolated or skipped, even though the extension already allows users to isolate tests to run.


Feedback from Kevin Paxton

Activity

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

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions