Commit cd15c6f
committed
test: add comprehensive unit tests to platform-server (+289 tests)
- Add 14 tests for auth.rs (signature verification, timestamps)
- Add 15 tests for bridge.rs (URL routing, error handling)
- Add 17 tests for validators.rs (request parsing, validation)
- Add 10 tests for submissions.rs (query parsing, deprecation)
- Add 12 tests for events.rs (broadcast, secrets)
- Add 10 tests for evaluations.rs (request/response serialization)
- Add 11 tests for leaderboard.rs (query parsing)
- Add 20 tests for websocket/events.rs (EventBroadcaster)
- Add 20 tests for websocket/handler.rs (auth flow)
- Add 20 tests for websocket/challenge_handler.rs (message routing)
Total workspace tests: 1631 -> 1920
Platform-server tests: 61 -> 2061 parent 57a1d35 commit cd15c6f
File tree
13 files changed
+2388
-0
lines changed- crates/platform-server
- src
- api
- websocket
13 files changed
+2388
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
0 commit comments