Skip to content

Make dependency on servlet optional in TCK #133

@OndroMih

Description

@OndroMih

The JWT spec specifies interoperability with the Servlet container. This is covered by the ServletTest test. The problem is that this test fails when the runtime doesn't support servlets and thus this test should be optional.

We could introduce a test profile to be used by implementations that also support servlets. When this profile is activated (for implementations that support servlets), the ServletTest would be executed with other TCK tests. If not, the test would be skipped.

Alternatively, the test suite could detect whether servlets are supported by the implementation under test and activate the test only if servlets are supported. This is even better solution because implementations that support servlets can't just disable the optional test on their own. But it's probably much harder to implement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions