Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow pinning of sub tests #62

Closed
bep opened this issue Nov 28, 2021 · 1 comment
Closed

Allow pinning of sub tests #62

bep opened this issue Nov 28, 2021 · 1 comment

Comments

@bep
Copy link

bep commented Nov 28, 2021

First, thanks for this great tool. I especially love the "pinning support", and that feature would be perfect if i could also somehow filter sub-tests (t.Run ..., see below).

Since these tests may have dynamic names, I don't see how you could automate this, but how about adding an optional text input box so the user can append a filter? (not sure if that's even possible, but it would be pretty great).

func TestPinTest(t *testing.T) {
	t.Run("Variant1", func(t *testing.T) {
		t.Fail()
	})
	t.Run("Variant2", func(t *testing.T) {
		t.Fail()
	})
	t.Run("Variant3", func(t *testing.T) {
		t.Fail()
	})
}
@bep
Copy link
Author

bep commented Nov 29, 2021

I guess this is discussed better here: golang/vscode-go#1602

@bep bep closed this as completed Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant