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

Update testing.adoc > "@EmbeddedKafka Annotation with JUnit5" section #2894

Merged
merged 2 commits into from
Nov 20, 2023

Conversation

Alchemik
Copy link
Contributor

@Alchemik Alchemik commented Nov 12, 2023

Improved Spring for Apache Kafka > Testing Applications > @EmbeddedKafka Annotation with JUnit5 documentation.

@@ -339,7 +339,7 @@ public class EmbeddedKafkaConditionTests {
}
----

A stand-alone (not Spring test context) broker will be created if the class annotated with `@EmbeddedBroker` is not also annotated (or meta annotated) with `ExtendedWith(SpringExtension.class)`.
A standalone broker (outside the Spring's TestContext) will be created unless a class annotated `@EmbeddedKafka` is also annotated (or meta-annotated) with `ExtendWith(SpringExtension.class)`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the next line still uses "meta annotated". So changing above alone ends up with some inconsistency, thogh super minor.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed; thanks.

@garyrussell garyrussell merged commit 581d344 into spring-projects:main Nov 20, 2023
1 check passed
@garyrussell garyrussell added this to the 3.1.0 milestone Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants