Skip to content

Proposal: Test Cleanup #492

Open
Open
@MitMaro

Description

@MitMaro

The test/ directory is rather difficult to follow at the moment. When adding new tests it is not always clear where the test should be added. I had some difficulties when working on #437.

I'm willing to progressively fix up the test/ directory in a series of PRs, but since it would be a fair bit of effort, I do not want to start the process if there is not much of a chance that the PRs would be merged.

This would go nicely with the coverage report that will be added with #468.

Tests

  • algorithm ECDSA
  • algorithm HMAC
  • algorithm invalid
  • algorithm none
  • algorithm RSA
  • claim audience/aud
  • claim expiresIn/exp (ignoreExpiration, clockTolerance, clockTimestamp)
  • claim iat/maxAge (clockTolerance, clockTimestamp)
  • claim invalid
  • claim issuer/iss
  • claim jwtid/jti
  • claim notBefore/nbf (ignoreNotBefore, clockTolerance, clockTimestamp)
  • claim private
  • claim subject/sub
  • header keyId/kid
  • option clockTimestamp
  • option clockTolerance
  • option encoding
  • option header
  • option ignoreExpiration
  • option ignoreNotBefore
  • option mutatePayload
  • option noTimestamp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions