You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
If you have two functions where one's name is a prefix of the other's and you generate unit tests for the shorter one, tests are also generated for the other one:
funcfoo() {}
funcfooBar() {}
Upon executing "Go: Generate Unit Tests for Function" for foo() I get a message saying "Generated: Test_foo, Test_fooBar" and the following tests:
Looks like the gotests tool was expected a regular expression for the function names. Since we passed just the function names, anything that matched got picked up.
If you have two functions where one's name is a prefix of the other's and you generate unit tests for the shorter one, tests are also generated for the other one:
Upon executing "Go: Generate Unit Tests for Function" for
foo()
I get a message saying "Generated: Test_foo, Test_fooBar" and the following tests:The text was updated successfully, but these errors were encountered: