Skip to content

Introduce support for executing a test class with different sets of profiles [SPR-16302] #20849

Open

Description

@spring-projects-issues

Manuel Jordan opened SPR-16302 and commented

Hello Spring Team

Consider to add a new feature for Testing support with the purpose to have just one Spring Test class to be tested many times with a different set of profiles, it for each set.

More details in the link from SO.

Thank You.


Affects: 4.3.10

Reference URL: https://stackoverflow.com/questions/47816959/testing-one-spring-test-class-for-many-different-set-of-profiles

Activity

  1. spring-projects-issues commented on Dec 31, 2017

    @spring-projects-issues
    CollaboratorAuthor

    Sam Brannen commented

    A feature such as the one suggested here has been requested multiple times over the years.

    There is, however, no simple way to implement such a feature since the testing frameworks supported by the Spring TestContext Framework (i.e., JUnit 4, JUnit Jupiter, and TestNG) do not provide such a mechanism.

    In any case, it is likely worth looking into a solution that may work with JUnit 4 (via a custom Runner) or with JUnit Jupiter (pending implementation of the feature proposed in junit-team/junit-framework#871).

  2. spring-projects-issues commented on Jan 2, 2018

    @spring-projects-issues
    CollaboratorAuthor

    Manuel Jordan commented

    Thanks by the information. I invite you to check again my post through SO.
    I wrote my own the solution, is simple in someway.

  3. self-assigned this
    on Jan 15, 2019
  4. removed their assignment
    on Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions