hedera-mirror-node icon indicating copy to clipboard operation
hedera-mirror-node copied to clipboard

Implement advanced spec test features

Open jascks opened this issue 1 year ago • 0 comments

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 matrix feature executes the referenced JS code. What kind of Java equivalent is there? Perhaps provide a Function or 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

jascks avatar Jul 19 '24 18:07 jascks