FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs: testing page by csviri · Pull Request #3313 · operator-framework/java-operator-sdk · GitHub

docs: testing page - #3313

Merged
csviri merged 5 commits into
operator-framework:mainfrom
csviri:docs-testing
Apr 27, 2026
Merged

docs: testing page#3313
csviri merged 5 commits into
operator-framework:mainfrom
csviri:docs-testing

Conversation

csviri commented Apr 24, 2026

Copy link
Copy Markdown
Collaborator

Signed-off-by: Attila Mészáros a_meszaros@apple.com

Copilot AI review requested due to automatic review settings April 24, 2026 12:47
openshift-ci Bot requested review from metacosm and xstefank April 24, 2026 12:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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 Testing documentation 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.

// Keep namespace around on test failure for debugging
.preserveNamespaceOnError(true)
.build();
```

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think this can be removed since the following section is all about this.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

makes sense, removed.

csviri requested a review from xstefank April 27, 2026 07:18
csviri force-pushed the docs-testing branch 2 times, most recently from 129e973 to bc716c8 Compare April 27, 2026 07:32
csviri and others added 5 commits April 27, 2026 16:12
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>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
csviri merged commit 1e93ba0 into operator-framework:main Apr 27, 2026
1 check passed
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL