Skip to content

feat:add e2e testing initial setup#17

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

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

Conversation

@MasterBrian99

@MasterBrian99 MasterBrian99 commented Aug 19, 2025

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

Comment thread test/helpers/test-container.helper.ts Outdated

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

Comment thread test/mocks/user-mocks.ts
@@ -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

kasvith commented Aug 19, 2025

Copy link
Copy Markdown
Collaborator

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants