Skip to content

test(integration): standardize setup and rollback fixtures#91

Draft
ddlees wants to merge 4 commits into
mainfrom
global-setup-teardown
Draft

test(integration): standardize setup and rollback fixtures#91
ddlees wants to merge 4 commits into
mainfrom
global-setup-teardown

Conversation

@ddlees
Copy link
Copy Markdown
Member

@ddlees ddlees commented May 29, 2026

Description

This change centralizes integration test setup, schema assertion, driver detection, graph cleanup, and rollback fixture handling in the shared integration harness. It keeps the existing setup helpers available while adding a Session-based API for clearer cleanup behavior and reusable fixture rollback flows across Cypher integration tests.

Resolves: PQE-426

Type of Change

  • Chore (a change that does not modify the application functionality)
  • Bug fix (a change that fixes an issue)
  • New feature / enhancement (a change that adds new functionality)
  • Refactor (no behaviour change)
  • Test coverage
  • Build / CI / tooling
  • Documentation

Testing

  • Unit tests added / updated
  • Integration tests added / updated
  • Full test suite run (make test_all with CONNECTION_STRING set)

Screenshots (if appropriate):

Driver Impact

  • PostgreSQL driver (drivers/pg)
  • Neo4j driver (drivers/neo4j)

Checklist

  • Code is formatted
  • All existing tests pass
  • go.mod / go.sum are up to date if dependencies changed

@ddlees ddlees marked this pull request as draft May 29, 2026 16:11
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 29, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 24313c05-167f-4b44-ba37-39f3183b81ca

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch global-setup-teardown

Comment @coderabbitai help to get the list of available commands and usage tips.

@ykaiboussiSO ykaiboussiSO changed the title chore: Standerdize Integration TestSetup test(integration): standardize setup and rollback fixtures Jun 1, 2026
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.

2 participants