Mercurial
comparison mrjunejune/test/README.md @ 109:1c446ab6f945
[MrJuneJune] New Blog about writing Seobeo library.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Sat, 03 Jan 2026 19:37:51 -0800 |
| parents | 092afa595764 |
| children |
comparison
equal
deleted
inserted
replaced
| 108:f07abbcd2ec5 | 109:1c446ab6f945 |
|---|---|
| 97 bazel run //mrjunejune:create_snapshots | 97 bazel run //mrjunejune:create_snapshots |
| 98 | 98 |
| 99 # Run tests to verify | 99 # Run tests to verify |
| 100 bazel test //mrjunejune:integration_test | 100 bazel test //mrjunejune:integration_test |
| 101 ``` | 101 ``` |
| 102 | |
| 103 ### When Adding New Endpoints | |
| 104 1. Update `main.c` with new route | |
| 105 2. Add test case to `integration_test.c` | |
| 106 3. Add snapshot config to `create_snapshots.c` (for GET) | |
| 107 4. Regenerate snapshots | |
| 108 5. Run tests | |
| 109 | |
| 110 ## Notes | |
| 111 | |
| 112 - Tests require FFmpeg to be installed for video/image conversion tests | |
| 113 - Server runs on port 6969 during tests | |
| 114 - Test files are cleaned up automatically after download | |
| 115 - Converted files are stored in `/tmp/` during tests |