Test Explorer keeps obsolete method names when renaming test suite methods #2974
Labels
Go Companion
Issues relating to the Go Companion extension
go-test
issues related to go test support (test output, test explorer, ...)
Milestone
Describe the bug
Use case: Using test explorer with Testify test suites and renaming suite methods.
Bug: Test explorer keeps old, obsolete and intermediate namings.
Expected behaviour: Test explorer shall mirror only the really existant test methods.
Point in question: How shall test explorer handle test suite methods in general?
Steps to reproduce the behavior:
github.com/stretchr/testify/suite
func (s *TestSuite) TestFooBar()
(screenshot 01).TestFooBarXyz
via typing in the editorScreenshots
01 - method created
02 - method renamed
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Go from the VS Code integrated terminal.gopls -v version
to get version of Gopls from the VS Code integrated terminal.code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.Go: Locate Configured Go Tools
command.Share the Go related settings you have added/edited
The text was updated successfully, but these errors were encountered: