docs: testing page#3313
Merged
csviri merged 5 commits intooperator-framework:mainfrom Apr 27, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new “Testing” documentation page to the JOSDK docs site, describing unit, integration, and E2E testing approaches and how to use the JUnit extensions.
Changes:
- Introduce a new
Testingdocumentation page with examples and configuration notes. - Link the new page from the Documentation section index.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
docs/content/en/docs/documentation/testing.md |
New testing guide covering unit tests, JUnit extensions, Fabric8 mock/API test options, and system property configuration. |
docs/content/en/docs/documentation/_index.md |
Adds a “Testing” section linking to the new page. |
xstefank
reviewed
Apr 27, 2026
| // Keep namespace around on test failure for debugging | ||
| .preserveNamespaceOnError(true) | ||
| .build(); | ||
| ``` |
Collaborator
There was a problem hiding this comment.
Mention that these are just examples, and the list is not exhaustive.
| Operator operator = extension.getOperator(); | ||
|
|
||
| // Get a registered reconciler (useful to inspect state) | ||
| MyReconciler reconciler = extension.getReconcilerOfType(MyReconciler.class); |
Collaborator
There was a problem hiding this comment.
I think this can be removed since the following section is all about this.
Collaborator
Author
There was a problem hiding this comment.
makes sense, removed.
129e973 to
bc716c8
Compare
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
metacosm
approved these changes
Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Attila Mészáros a_meszaros@apple.com