Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests #86

Open
rye opened this issue Oct 23, 2018 · 0 comments
Open

Tests #86

rye opened this issue Oct 23, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rye
Copy link
Member

rye commented Oct 23, 2018

We need tests, beyond smoke-tests.

I propose jest everywhere.

One of my goals is to get us to adopt a somewhat test-driven development philosophy for at least the server, and longer-term for the app modules as well. This means that whenever we encounter issues in production, we should—in principle—be addressing them first by creating a failing test to replicate the problem, then writing or fixing code to fix the behavior. Then committing the failing test and the fix together in one commit.

The amount of time this adds to development decreases as we do it more, and it'll make it much easier to validate that everything works as expected once we're done and in the long-term. We just need to commit to it.

@rye rye added the enhancement New feature or request label Oct 23, 2018
@rye rye self-assigned this Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant