Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new annotation that bubbles up @Execution, @ExtendWith, and @SpringBootTest #7

Open
kgress opened this issue Mar 22, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@kgress
Copy link
Contributor

kgress commented Mar 22, 2019

Summary:

We should create a new annotation that allows users implementing scaffold to have just one annotation instead of three on their BaseTest file.

E.G, on an implementing project "AutomationCodeBase" :

@Execution(ExecutionMode.CONCURRENT)
@ExtendWith(SpringExtension.class)
@SpringBootTest(
        webEnvironment = SpringBootTest.WebEnvironment.NONE,
        classes = { AutomationCodeBaseConfig.class, ScaffoldConfig.class }
)
public class BaseTest extends ScaffoldBaseTest { ... }

This is a bit heavy and having a single annotation that bubbles all of these configurations up would be helpful.

A/C:

  • Create a new Spring annotation that includes the execution mode, the SpringExtension, and the SpringBootTest configuration annotations
@kgress kgress added the enhancement New feature or request label Mar 22, 2019
@kgress kgress changed the title Create a new annotation that bubbles up @Execution, @ExtendWith, and @SpringBootTest Create a new annotation that bubbles up @Execution, @ExtendWith, and @SpringBootTest Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant