spring-projects / spring-projects/spring-framework

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

Open
#20,849 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

in: test type: enhancement
Dominant language
Java
Stars
60.2k
Forks
38.8k
Avg merge
5d 2h
Merged PRs (30d)
27

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked Stack Overflow discussion and SPR-16302 for the expected behavior and constraints, then inspect Spring's testing support to identify the relevant entry points. Done means a single Spring test class can be executed repeatedly with each requested set of profiles, with coverage for the profile sets described by the feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.