Skip to content

Refactor test structure and add testing guidelines#305

Merged
satyakigh merged 2 commits intomainfrom
testing-guide
Nov 26, 2025
Merged

Refactor test structure and add testing guidelines#305
satyakigh merged 2 commits intomainfrom
testing-guide

Conversation

@satyakigh
Copy link
Copy Markdown
Collaborator

@satyakigh satyakigh commented Nov 24, 2025

Key Changes

Testing Documentation
• Added tst/README.md with detailed testing guidelines covering:
• Test levels (unit, integration, E2E) and their objectives
• Mocking strategy and best practices
• What to test and meaningful assertions
• Tooling documentation (Vitest and Sinon)

Test Reorganization
• Moved integration tests to E2E tests (tst/integration/ → tst/e2e/)
e2e and integration folders flipped based on definition

Test Improvements
• Removed unnecessary wait() calls from E2E tests
• Simplified test utilities and removed unused helper functions
• Lazy loading template for test setup

@satyakigh satyakigh requested a review from a team as a code owner November 24, 2025 20:42
@satyakigh satyakigh changed the title Improve testing and add guide Refactor test structure and add testing guidelines Nov 24, 2025
@satyakigh satyakigh force-pushed the testing-guide branch 2 times, most recently from c1d31cc to 75d2c64 Compare November 24, 2025 20:49
kddejong
kddejong previously approved these changes Nov 24, 2025
@satyakigh satyakigh changed the title Refactor test structure and add testing guidelines [WIP] Refactor test structure and add testing guidelines Nov 24, 2025
@satyakigh satyakigh force-pushed the testing-guide branch 13 times, most recently from 0c776f7 to d00888c Compare November 25, 2025 06:35
@satyakigh satyakigh changed the title [WIP] Refactor test structure and add testing guidelines Refactor test structure and add testing guidelines Nov 25, 2025
Comment thread tst/utils/TestExtension.ts
Comment thread tst/README.md
Comment thread tst/README.md
@satyakigh satyakigh merged commit b049c4b into main Nov 26, 2025
14 checks passed
@satyakigh satyakigh deleted the testing-guide branch November 26, 2025 16:08
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.

4 participants