-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Spec Test Coverage
Use Case
As a node driver engineer
I want to run all the tests that assert what an incorrect format is
So that we don't permit variations in valid input
User Impact
*What is the number of impacted customers? How severe is the impact? Is anyone blocked or broken?
- Any dependent library doesn't share the specification assertions on what incorrectly formatted EJSON looks like.
Dependencies
- upstream and/or downstream requirements and timelines to bear in mind
- BSON Corpus tests
Unknowns
- questions that need to be answered to determine implementation
- Will adding validation introduce significant breaking changes
Acceptance Criteria
Implementation Requirements
- fromExtendedJSON and toExtendedJSON methods will all likely need changes that involve checking typeof values and throwing for the tests cases.
Testing Requirements
- Unskip all the parseErrors tests that are currently skipped.
Documentation Requirements
- n/a
Follow Up Requirements
- n/a