Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tests and Unit Test Structure to Generated Project #71

Open
1 task
basokant opened this issue Nov 11, 2023 · 2 comments
Open
1 task

Add Tests and Unit Test Structure to Generated Project #71

basokant opened this issue Nov 11, 2023 · 2 comments

Comments

@basokant
Copy link
Contributor

  • Include an opinionated Go standard test project structure, and an example unit test.

Potential Ideas:

  • Add a cli step and flag for this so the user could choose to have this be a part of the structure or not.
  • Add some sort of option to include testify for a better test assertion experience https://github.com/stretchr/testify
@emilaleksanteri
Copy link

emilaleksanteri commented Nov 13, 2023

Yo if no one has taken this issue, can I add some unit tests for the steps etc?

@cedric-appdirect
Copy link

Would be interesting to setup a full DB with testcontainer-go or equivalent (when not selecting sqlite) for integration tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants