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
While this project is still pretty new, I think it would be worth making automated testing a core part of the development process. This is something I wish I had done more of with farmOS itself (although farmOS sits on top of a lot of underlying components that have automated tests already), and I hope to make it a key part of the Drupal 8 upgrade initiative.
Perhaps we can get TravisCI set up with this repo, write some tests for the code we have thusfar, and then make it a part of the process moving forward (along with documentation).
What do you think?
The text was updated successfully, but these errors were encountered:
I'll look more into Vue's recommendations, as you referenced above. For the client, which no longer has it's own Webpack or other devDependencies, it might make more sense to just use Karma (or Jest or whatever) with some npm scripts for local testing, with TravisCI for some extra safety at the repository level.
It might also make sense to work on the basic setup for this in tangent with #1 (linting).
More food for thought... There a lot of console.log()statements still in the code that ideally shouldn't go into production, a lot of which I've already removed, but they might actually work as useful sign-posts for where we need to write a test.
While this project is still pretty new, I think it would be worth making automated testing a core part of the development process. This is something I wish I had done more of with farmOS itself (although farmOS sits on top of a lot of underlying components that have automated tests already), and I hope to make it a key part of the Drupal 8 upgrade initiative.
I see that Vue.js provides some tooling for this: https://vuejs.org/v2/guide/unit-testing.html
Perhaps we can get TravisCI set up with this repo, write some tests for the code we have thusfar, and then make it a part of the process moving forward (along with documentation).
What do you think?
The text was updated successfully, but these errors were encountered: