Skip to content

NCO-58: Flesh out functional testing#60

Merged
davidkelly merged 5 commits into
masterfrom
dk/nco58
Apr 29, 2026
Merged

NCO-58: Flesh out functional testing#60
davidkelly merged 5 commits into
masterfrom
dk/nco58

Conversation

@davidkelly
Copy link
Copy Markdown
Collaborator

Add functional tests for sync and async APIs at both cluster and scope level

  • Add scope-level streaming and blocking tests for the sync API
  • Add scope-level end-to-end test for the async API (start→poll→fetch)
  • Add async metadata verification test at cluster level
  • Provision bare dataverse in CI workflow for scope-level queries

@davidkelly davidkelly changed the base branch from master to dk/nco57 April 24, 2026 15:50
@davidkelly davidkelly marked this pull request as ready for review April 24, 2026 18:23
@jeffrymorris jeffrymorris requested a review from Copilot April 27, 2026 22:08
Copy link
Copy Markdown

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 functional coverage for analytics scope-level (query-context) operations and expands async query functional tests, with CI workflow updates to provision the required dataverse for those scope tests.

Changes:

  • Add scope-level streaming and blocking query tests for the synchronous API.
  • Add scope-level async end-to-end test (start → poll → fetch) plus a cluster-level async metadata/metrics verification test.
  • Update CI workflow to wait for analytics readiness and create the required dataverse for scope-level queries.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
tests/Couchbase.Analytics.FunctionalTests/Internal/AnalyticsServiceTests.cs Adds scope-level sync query tests (streaming and blocking).
tests/Couchbase.Analytics.FunctionalTests/Fixtures/SimpleFixture.cs Exposes a TestScope helper for scope-context test calls.
tests/Couchbase.Analytics.FunctionalTests/Fixtures/FixtureSettings.cs Adds configurable database/scope names (with defaults) for scope tests.
tests/Couchbase.Analytics.FunctionalTests/AsyncAnalyticsTests.cs Adds async scope end-to-end test and cluster-level metadata verification.
.github/workflows/functional-tests.yml Waits for analytics readiness and creates the test dataverse needed for scope-level queries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/Couchbase.Analytics.FunctionalTests/Internal/AnalyticsServiceTests.cs Outdated
Comment thread tests/Couchbase.Analytics.FunctionalTests/AsyncAnalyticsTests.cs Outdated
Comment thread tests/Couchbase.Analytics.FunctionalTests/AsyncAnalyticsTests.cs Outdated
Comment thread tests/Couchbase.Analytics.FunctionalTests/AsyncAnalyticsTests.cs Outdated
Comment thread tests/Couchbase.Analytics.FunctionalTests/AsyncAnalyticsTests.cs Outdated
Comment thread tests/Couchbase.Analytics.FunctionalTests/AsyncAnalyticsTests.cs
Comment thread .github/workflows/functional-tests.yml Outdated
Comment thread tests/Couchbase.Analytics.FunctionalTests/Internal/AnalyticsServiceTests.cs Outdated
Comment thread .github/workflows/functional-tests.yml
@davidkelly davidkelly changed the base branch from dk/nco57 to master April 28, 2026 15:20
- Add scope-level streaming and blocking tests for the sync API
- Add scope-level end-to-end test for the async API (start→poll→fetch)
- Add async metadata verification test at cluster level
- Provision bare dataverse in CI workflow for scope-level queries
@davidkelly davidkelly merged commit d359fe5 into master Apr 29, 2026
3 checks 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.

3 participants