Closed transfaeries closed 2 years ago
Millie and I started writing the code for testing build_http_requests, and just setting up the test environment has proved difficult. We eventually ran into a problem that required simulating or having a signal pre_key bundle. It might be that Unit Tests will have to be integrated with a more fancy test suite that involves simulated signal data.
Start work on a test suite. Specifically tests that don't require interacting with the signal network. This issue will focus on testing
messages.rs/ build_http_request generate_messages_to_all_devices
net.rs/ common_http_headers
profile.rs/ get_profile_key_version
Furthermore we will test sending simulated messages with simulate send. and investigate testing rpc requests.