Melkeydev / go-blueprint

Go-blueprint allows users to spin up a quick Go project using a popular framework
https://docs.go-blueprint.dev/
MIT License
5.89k stars 333 forks source link

[Bug] flaky linting tests #195

Closed MitchellBerend closed 8 months ago

MitchellBerend commented 9 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.