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

feat(#976): Disable/Override standard Citrus reporters #987

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

tschlat
Copy link
Collaborator

@tschlat tschlat commented Sep 16, 2023

The requested feature has been implemented as follows: when you add an override implementation of a Reporter through Spring Configuration, it will automatically suppress the default Citrus reporter. Additionally, if you set the enablement property to 'false,' the Reporter will also be suppressed.

Please note that not all Reporters can be disabled due to Autowiring requirements, and there may be limitations on adding additional reporters through single bean matching. For me it makes most sense, to just override an existing Reporter with an own implementation.

If you have any comments or further requests, feel free to comment.

@tschlat tschlat force-pushed the issue/976/disable_default_reporters branch 2 times, most recently from 43d2311 to c82eea8 Compare September 16, 2023 21:06
@tschlat tschlat requested a review from christophd September 16, 2023 21:06

[source,java]
----
@Configuration
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
@Configuration
@Configuration

src/manual/reporting.adoc Outdated Show resolved Hide resolved
@tschlat tschlat force-pushed the issue/976/disable_default_reporters branch from c82eea8 to a0e4c25 Compare September 18, 2023 04:42
@tschlat
Copy link
Collaborator Author

tschlat commented Sep 18, 2023

I have added one more test.

@bbortt bbortt merged commit 61bf5a9 into main Sep 18, 2023
1 check passed
@tschlat tschlat deleted the issue/976/disable_default_reporters branch October 25, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Enable/disable default test reporters via env var settings
2 participants