Provide clear instructions how to easily test code changes made in waspc/ code #2058
Closed
3 tasks done
Labels
documentation
Improvements or additions to documentation
Make it so that if somebody wants to make a change to waspc/ code and test it, it is clear how they can easily do it. Couple of days ago I was in this situation and actually it wasn't very clear to me if there is an example app that I can easily run and use or if I have to create my own in order to test this specific feature I was working on.
@sodic then told me that waspc/examples/todoApp is kept up to date with the latest code always, and since it has most of the features in it, that is actually the best way to quickly test the changes! I was kind of aware if has most of the features in it but wasn't aware it is kept up to date, I assumed it would potentially be broken till the actual release. But, it is actually checked in the CI (if it can build) and some e2e tests run over it (not fully tested though, but is somewhat), and that is great.
The only tricky part is getting the env vars set up for it, for all the APIs, but we could also look into how to make that as easy as possible.
TODO:
waspc/examples/todoApp
, and that it is run and tested in CI, so not only can a contributor use it to test stuff, they should also make sure it keeps working and passing tests. Also provide some guidance here regarding the env vars -> maybe just point them to the README of the todoApp.The text was updated successfully, but these errors were encountered: