yoga2 icon indicating copy to clipboard operation
yoga2 copied to clipboard

When you create new yoga project generate test-files (unit-test and E2E-test)

Open guledali opened this issue 5 years ago • 1 comments

cli-select-features

@Weakky Similar to vue.js when you first scaffold a project you're given the option to include test files. In my company we write a lot of tests(unit-tests). Having something like would be appreciated by my team.

Also on that note generate samples like .travis.yml or config.yml for setting up continuous-integration for the project

guledali avatar Mar 16 '19 11:03 guledali

@schickling @Weakky Another option would be to preconfigure easygraphql-tester and jest so that it works out of the box with Yoga2, it will make it easier to test graphql on the server.

These articles should help out with testing graphql

https://easygraphql.com/docs/getting-started/overview https://medium.com/open-graphql/how-i-started-testing-my-queries-and-mutations-on-graphql-f578abc1b424

guledali avatar Apr 10 '19 12:04 guledali