Skip to content

Add unit and integration tests for OpenDrop core flows #29

@DhanushNehru

Description

@DhanushNehru

OpenDrop currently has minimal or no automated test coverage for its core functionality, including file selection, WebRTC connection setup, data channel messaging, and file transfer completion handling. This issue tracks adding a structured test suite (unit and, where possible, integration tests) to improve reliability and prevent regressions.

Acceptance criteria:

  • A test runner is configured and can be run with a single command (e.g., npm test or pnpm test).
  • Core file transfer utilities and signaling helpers have test coverage with clear, deterministic assertions.
  • Tests run successfully in CI for pull requests touching relevant code paths.
  • README updated with a short “Running tests” section describing prerequisites and commands.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions