8000 Migrate basic broker infrastructure and login tests · Issue #51954 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Migrate basic broker infrastructure and login tests #51954

Description

@sguilhen

Migrate the shared broker test infrastructure and basic login tests to the new JUnit 5 framework, establishing the reusable base-class pattern the rest of the migration builds on.

Design note

This originally proposed interface-based composition (default-method test logic). After review the shared layer uses abstract classes by default: the new framework's field injection populates class fields (not interfaces), so abstract bases hold the injected clients/pages as protected fields and drop the per-test getter boilerplate, matching the rest of tests/base. Interfaces are reserved for the few cases that must combine two independent @Test-bearing axes (e.g. the JWE/ECDH-ES UserInfo variants and the token-store V1/V2 × OIDC/SAML matrix).

In scope

  • Abstract support layer: AbstractBrokerTest, AbstractBrokerLoginTest, AbstractKcOidcBrokerTest, AbstractKcSamlBrokerTest
  • Basic login tests: KcOidcBrokerTest, KcOidcBrokerClientSecretBasicAuthTest, KcSamlBrokerTest (new-suite copies)

Activity

  1. added theissue type on Aug 22, 2026
  2. self-assigned this
    on Aug 23, 2026
  3. 1 remaining item

  4. added a commit that references this issue on Aug 26, 2026
    a66a579
  5. added a commit that references this issue on Aug 31, 2026
    8639b57
  6. added a commit that references this issue on Sep 1, 2026
    f277758
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Fields

No fields configured for task.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0