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
Everyone seems to think testing is a good idea. Yet in my experience it takes a lot of time (50%), doesn't catch many bugs, and we still have to manually run things anyways. Of course this is only true on small projects with small user bases.
I think my policy will be that instead of testing everything, let's only put tests in place for things that break once. Yes this will require our users to be our bug testers, but I think that's ok as long as we can rollback quickly and fix bugs quickly.
In other words, let's not pre-optimize here. Let's see if we create too many problems first before over-engineering our testing suite.
If we do decide to add testing, cypress.io looks neat! These are the standard options: mochajs.org, jestjs.io
What would make everyone's life easier is if we were guaranteed that .es6 == .js. This could be a pre-commit hook, but that would require installation. It could be a test we run on pull request, but it could also be a job run on pull request to do it for you automatically and submit as a commit for you.
Another idea that will make everyone's life easier is automatic prettier formatting. Again this can happen on save, as a precommit hook, or as a bot that criticizes you or does it for you.
The text was updated successfully, but these errors were encountered: