Skip to content

test: add backend integration tests for server and analytics plugins#79

Open
calvarjorge wants to merge 2 commits intomainfrom
jorge.calvar/create_appkit_backend_integration_tests
Open

test: add backend integration tests for server and analytics plugins#79
calvarjorge wants to merge 2 commits intomainfrom
jorge.calvar/create_appkit_backend_integration_tests

Conversation

@calvarjorge
Copy link
Contributor

  • Create backend integration tests for AppKit
  • Add reusable createTestServer() utility for integration tests
  • Move existing server integration tests to src/tests/integration/
  • Add new integration tests for analytics and server plugins in this folder

@pkosiec pkosiec self-requested a review February 3, 2026 13:22
Copy link
Member

Choose a reason for hiding this comment

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

What was the reason of refactoring the server.integration.test.ts?

Personally I like to keep tests close to the actual code - maybe we should revisit the previous structure?

Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to test it similarly to the deleted server.integration.test.ts? That is, we could add the analytics.integration.test.ts close to the analytics plugin, and maybe we don't need the actual test server? WDYT?

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