Skip to content

docs: testing page#3313

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

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

Conversation

@csviri
Copy link
Copy Markdown
Collaborator

@csviri csviri commented Apr 24, 2026

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 openshift-ci Bot requested review from metacosm and xstefank April 24, 2026 12:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

Comment thread docs/content/en/docs/documentation/testing.md
Comment thread docs/content/en/docs/documentation/testing.md
Comment thread docs/content/en/docs/documentation/testing.md Outdated
Comment thread docs/content/en/docs/documentation/testing.md
Comment thread docs/content/en/docs/documentation/testing.md
// 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.

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.

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.

makes sense, removed.

Comment thread docs/content/en/docs/documentation/testing.md Outdated
@csviri csviri requested a review from xstefank April 27, 2026 07:18
@csviri 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 csviri merged commit 1e93ba0 into operator-framework:main Apr 27, 2026
1 check passed
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