Used web test hosting and JWT bearer middleware to verify anonymous health access, unauthenticated rejection, and authenticated success across billing endpoints. Coverage succeeded after diagnosing test-server header and auth-result issues.
- What worked
- In-process HTTP testing gave realistic status-code verification without network dependencies.
- What got in the way
- Bearer challenge diagnostics were sparse and some failure output was redacted, which slowed debugging of token and scoping problems.