Skip to content

docs: improve testing docs#3321

Merged
csviri merged 3 commits intooperator-framework:mainfrom
csviri:unit-testing-fix
Apr 29, 2026
Merged

docs: improve testing docs#3321
csviri merged 3 commits intooperator-framework:mainfrom
csviri:unit-testing-fix

Conversation

@csviri
Copy link
Copy Markdown
Collaborator

@csviri csviri commented Apr 28, 2026

Change KubeAPITest to articulate it can be used for integration testing.

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

Copilot AI review requested due to automatic review settings April 28, 2026 16:28
@openshift-ci openshift-ci Bot requested review from metacosm and xstefank April 28, 2026 16:28
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

Note

Copilot was unable to run its full agentic suite in this review.

Updates the testing documentation to better explain using Fabric8 @KubeAPITest (including with LocallyRunOperatorExtension) for more realistic Kubernetes API behavior in tests.

Changes:

  • Reworded LocallyRunOperatorExtension integration testing section and tweaked Awaitility usage.
  • Added/relocated an expanded section describing Fabric8 @KubeAPITest, including dependency and example using LocallyRunOperatorExtension.

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
csviri added 2 commits April 29, 2026 09:08
Change KubeAPITest to articulate it can be used for integration testing.

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
@csviri csviri force-pushed the unit-testing-fix branch from 3fd39ac to 16b1530 Compare April 29, 2026 07:08
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
@csviri csviri merged commit 402b4c5 into operator-framework:main Apr 29, 2026
1 check passed
csviri added a commit to csviri/java-operator-sdk that referenced this pull request Apr 30, 2026
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
csviri added a commit that referenced this pull request Apr 30, 2026
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
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.

3 participants