mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2025-09-10 08:27:20 +00:00
update pipeline arch linting and unit testing ADRs
This commit is contained in:
19
specs/adrs/111222-jsunittest-mocha.md
Normal file
19
specs/adrs/111222-jsunittest-mocha.md
Normal 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.
|
Reference in New Issue
Block a user