update pipeline arch linting and unit testing ADRs

This commit is contained in:
Arthur Lu 2022-11-13 05:25:56 +00:00
parent 8450227035
commit 64a0aef48b
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# Use multiple CI/CD pipelines in parallel
- Status: accept
- Deciders: Arthur Lu, Marc Reta
- Date: 11 / 12 / 22
## Decision Drivers
- Need to perform many different CI/CD tasks
- Need pipeline to be durable against any single failure
## Considered Options
- Single deep pipeline
- Multiple short pipelines in parallel
## Decision Outcone
Chosen Option: Multiple short pipelines in parallel as any one failure will not prevent code from being developed and deployed.

View File

@ -0,0 +1,19 @@
# Use eslint for JS linting framework
- Status: accept
- Deciders: Arthur Lu, Marc Reta
- Date: 11 / 12 / 22
## Decision Drivers
- Need linting to work with multiple style standards
- Need linting to be fast and informative
## Considered Options
- JSLint
- eslint
## Decision Outcome
Chosen Option: eslint for its low configuration complexity.

View File

@ -0,0 +1,19 @@
# Use mocha for JS unit testing framework
- Status: accept
- Deciders: Arthur Lu, Marc Reta
- Date: 11 / 12 / 22
## Decision Drivers
- Need specification on how to write unit testing assertion statements
- Need framework to perform unit testing quickly for immediate code feedback
## Considered Options
- JUnit5
- Jest
- Mocha
## Decision Outcome
Chosen Option: Mocha because it was significantly faster to run than Jest (1s vs 30s), and can use a variety of assertion styles unlike JUnit5.