Melkeydev / go-blueprint

Go-blueprint allows users to spin up a quick Go project using a popular framework
MIT License
2.07k stars 141 forks source link

[Bug] flaky linting tests #195

Closed MitchellBerend closed 1 month ago

MitchellBerend commented 2 months ago
          During hand testing this feature the `fiber` option did not generate a full project [^1]. The linting jobs did pass but I think this qualifies as a 'flaky' test to me. Maybe these tests need to also include a build test of the generated project to make sure the application stays functional.

[^1]: the <- got sanitized into &lt;- since the template expects to output html

Originally posted by @MitchellBerend in https://github.com/Melkeydev/go-blueprint/issues/192#issuecomment-1967586592

A build step after generating the project should do the trick, during testing I felt a false sense of security since all the tests passed.