Description:
The current README.md provides excellent information about building the WebAssembly package and project architecture, but lacks crucial documentation about running tests with cargo test.
Current Issue:
When running cargo test, 104 out of 189 tests fail with network connection errors (404 Not Found), indicating they're trying to connect to live Proton Wallet backend services.
Example Error:
MuonError(Error { kind: Send, src: Some(StatusErr(StatusErr(404, HttpRes { res: Response { status: 404, version: HTTP/1.1, headers: {"content-length": "0", "date": "Thu, 31 Jul 2025 18:00:27 GMT"}, body: [] } }))), retryable: false })
What's Missing:
- Instructions on setting up test environment
- Information about required environment variables for testing
- Whether tests need mock servers or test credentials
- How to run only unit tests vs integration tests
- Test-specific dependencies or setup requirements
Suggested Documentation Additions:
- Add a "Testing" section to README.md
- Include information about test categories (unit, integration, ignored)
- Provide setup instructions for different test scenarios
- Document any required environment configuration
- Add examples of running specific test subsets
Would it be possible to add comprehensive testing documentation to help developers understand how to properly run and configure tests for this project?
Description:
The current README.md provides excellent information about building the WebAssembly package and project architecture, but lacks crucial documentation about running tests with
cargo test.Current Issue:
When running
cargo test, 104 out of 189 tests fail with network connection errors (404 Not Found), indicating they're trying to connect to live Proton Wallet backend services.Example Error:
What's Missing:
Suggested Documentation Additions:
Would it be possible to add comprehensive testing documentation to help developers understand how to properly run and configure tests for this project?