Skip to content

testOnSave: add option to only run the previously executed test #3521

Open
@myaaaaaaaaa

Description

@myaaaaaaaaa

Is your feature request related to a problem? Please describe.

Testing on save is extremely convenient for TDD-style workflows. However, at the moment it involves running the entire test suite on every save, which can be excessive for such a frequent operation.

Describe the solution you'd like

Add a previous option to go.testOnSave (essentially turning it into an enum with the options off/previous/all).

When set to previous, the extension should effectively run Go: Test Previous every time the user saves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestgo-testissues related to go test support (test output, test explorer, ...)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions