3 ms·
Show HN: Set up a continuous testing pipeline with Node.js
Hey HN,
My brother and I recently wrote a new guide on creating a continuous
integration, delivery, and testing pipeline for a Node.js app.
Full post: https://assertible.com/blog/set-up-continuous-testing-with-nodejs https://assertible.com/blog/set-up-continuous-testing-with-n...
Example repo: https://github.com/assertible/nodejs-example https://github.com/assertible/nodejs-example
The tutorial goes over the different components of a complete CI pipeline:
- Push code to GitHub, build and run unit tests on CircleCI
- Deploy new app version to Heroku
- Post-deployment tests with Assertible
The whole workflow is surprisingly easy to set up. We now run
automated testing on all staging and production environments
immediately after deployment. This has helped us save a ton of time
manually QA testing.
I'd love to hear some feedback on this approach and how other teams
manage their CI setups.
What does your CI pipeline look like? Anything you would add or change
about this workflow?
- CodyReichert 10y agoAuthor here - I'm planning a couple new guides with other CI/CD services (like Codeship). Any thoughts on what pipelines/workflows could use a good example?
- kellyjandrews 10y agoI posted a question on dev.to a while back asking for general CI/CD preferences as well - here are some good options to peruse - https://dev.to/kellyjandrews/what-tools-do-you-currently-use-for-cicd-past-experiences-recommendations https://dev.to/kellyjandrews/what-tools-do-you-currently-use...
- creichert 10y agoExtremely good list and feedback. That will help a lot, thanks!
- kellyjandrews 10y agoDisclaimer - Developer Advocate for Codeship To be honest,the example you have here on Codeship would be much cleaner to set up, and 100% less yaml.
- CodyReichert 10y agoIt's in the works, and will be the greatest workflow of all time ;) In all seriousness though, I'm loving Codeship and it's concept of "pipelines". Really looking forward to working with it more.