You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Local development is a bit painful and probably a hindrance to adding contributors. This discussion serves to start a conversation around how to improve this.
One initial idea is better unit tests that don't involve recreating the whole project. For one, introducing pytest with fixtures instead of just a bash script at the root level would help. There is also pytest-cookies that is used in cookiecutter-django. This could help with having faster unit tests for local development and leaving the "integration tests" for CI mainly.
There are a couple of other great patterns in the Django cookiecutter project that might be worth building off of.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Local development is a bit painful and probably a hindrance to adding contributors. This discussion serves to start a conversation around how to improve this.
One initial idea is better unit tests that don't involve recreating the whole project. For one, introducing pytest with fixtures instead of just a bash script at the root level would help. There is also pytest-cookies that is used in cookiecutter-django. This could help with having faster unit tests for local development and leaving the "integration tests" for CI mainly.
There are a couple of other great patterns in the Django cookiecutter project that might be worth building off of.
Beta Was this translation helpful? Give feedback.
All reactions