hedera-mirror-node
hedera-mirror-node copied to clipboard
Implement advanced spec test features
Problem
The existing JS REST API spec test framework supports the matrix and fakeTime feature. Java equivalents need to be provided in order for those specs to pass as well as to be available in specs to test Java REST.
Solution
- Existing
matrixfeature executes the referenced JS code. What kind of Java equivalent is there? Perhaps provide aFunctionor define some kind of DSL? - Utilize a Java equivalent to sinon, perhaps just
java.time.Clock. See this article. - Ensure all JS REST API spec pass.
Alternatives
No response