Testing local webservice – adding user seems to fail – new user is not in userlist
I watched the tutorial DIY Golang Web Server: No Dependencies Needed! from Flo Woelki and want to create some test classes for it.
Testing local webservice – adding user seems to fail since getting userlist is empty
I watched the tutorial DIY Golang Web Server: No Dependencies Needed! from Flo Woelki and want to create some test classes for it.
command not found: grc
I have grc in my tests. I have write the code while ago. here is the test in vscode tasks:
Golang test not executing defer statement when timing out
I have noticed that go tests do not execute defer
or t.Cleanup
statements when running past the default 10m timeout (or otherwise specified using the -timeout
flag).
Testing env vars in package-level variables properly
Suppose I have a package like this: