Generating unit tests in Go
This is a really poor demo.<p>I opened up the demo page and generated the tests. On first glance, I see a bunch of tests that just verify that the given code does exactly what it was written to do. That misses the _entire_ point of tests. Oh, and only a single test case for each function.<p>Looking a bit more closely, the test cases wouldn&#x27;t even pass. They&#x27;re just filled with placeholder values. Okay, fine, the boilerplate is generated, but you have to fill in the expected returns.<p>What about mocks? Why can I only have one test case per function? Also, None of these test cases are documented. You&#x27;re really still writing the bulk of the tests yourself anyway.<p>I&#x27;m not saying there is no value here, but if there is value, that demo shows none of it.