It’s not obvious when the steps are run, i.e., what’s the difference between smoke test step and build step? What does always mean? Are you just categorizing the build into different steps?
When and how are these steps invoked?
What are the “tools”?
What does nodejs ci mean? Is the intent for a web app? A server? An npm module? It feels like this is only for an npm module and not generic for any node based project/build pipeline.
Smoke test step seems very weird... why is this split? The build step should run lint and unit tests always. Unit tests should not be optional.
It’s not obvious when the steps are run, i.e., what’s the difference between smoke test step and build step? What does always mean? Are you just categorizing the build into different steps?
Yes, I can improve the wording there.
Smoke is actually a phase, 'Smoke detection'. It aims to catch as many issues in a short time to provide quick feedback. Unlike other testing that might need to run for 10min. It aggregates any type of tests that are quick - lint, unit, component, etc
What does nodejs ci mean? Is the intent for a web app? A server? An npm module? It feels like this is only for an npm module and not generic for any node based project/build pipeline.
It meant to be generic and again - this is a pool of ideas/tools. A lib will probably not have deployment tests
Unit tests should not be optional.
Fair argument. I think otherwise - if for example my Microservice is CRUDish, there's no point in unit tests rather only component tests. If my Microservice contains non straighforward logic than yes, unit are needed.
5
u/kbradl16 Jan 14 '20 edited Jan 14 '20
It’s not obvious when the steps are run, i.e., what’s the difference between smoke test step and build step? What does always mean? Are you just categorizing the build into different steps?
When and how are these steps invoked?
What are the “tools”?
What does nodejs ci mean? Is the intent for a web app? A server? An npm module? It feels like this is only for an npm module and not generic for any node based project/build pipeline.
Smoke test step seems very weird... why is this split? The build step should run lint and unit tests always. Unit tests should not be optional.