Skip to content

feat:add e2e testing initial setup#17

Merged
kasvith merged 4 commits intowavezync:mainfrom
MasterBrian99:feat/e2e-testing
Sep 4, 2025
Merged

feat:add e2e testing initial setup#17
kasvith merged 4 commits intowavezync:mainfrom
MasterBrian99:feat/e2e-testing

Conversation

@MasterBrian99
Copy link
Copy Markdown
Contributor

@MasterBrian99 MasterBrian99 commented Aug 19, 2025

  • add testcontainers for postgres setup
  • add auth and user test cases
  • postgres container initialize happen seperate file
  • add e2e test setup for workflow file

public async startPostgresContainer(): Promise<StartedPostgreSqlContainer> {
if (!TestContainerHelper.container) {
TestContainerHelper.container = await new PostgreSqlContainer(
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.

we can have multiple test containers for the project, so it would be a better approach to name this as pgInstance

@@ -0,0 +1,12 @@
const MOCK_USERS = {
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.

test/users/mock/users.ts

@kasvith
Copy link
Copy Markdown
Collaborator

kasvith commented Aug 19, 2025

we should also update ci script

@kasvith kasvith merged commit 663328e into wavezync:main Sep 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants