go-blueprint
go-blueprint copied to clipboard
Add Tests for Create Command
- [ ] Create file structure for tests in our app.
- [ ] Add unit test(s) for the
createcobra command. See https://nayaktapan37.medium.com/testing-cobra-commands-in-golang-ca1fe4ad6657 for an example. - [ ] Add
go testto GitHub Actions suite.
What are opinions on adding testify for use in our tests? I personally prefer using their assertion API over using if statements and manual test error messages. @Melkeydev 👀
Yeah I like testify @basokant