Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Conversation

@okwme
Copy link
Contributor

@okwme okwme commented Dec 13, 2019

Added most basic tests for scaffold function
Not sure what the best testing strategy is here though.
Do we use golden files of a completed and correct build?
This might help us compare what is different and identify if something is missing / done wrong, but isn't actually testing the build of the files in any way....
Would love some input / opinions on techniques that might be helpful.

require.NoError(t, err)
}

func TestScaffoldApp(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also build/run the app here? Or is that better done in CI?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can do app level scaffolding but not module level, which i think is fine. I can spend time next week working on this

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think app level is fine for now and adding module support to the testing at a later date.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants