Add version API tests for new package_versions feature
- Add tests for version creation via upload with explicit version parameter - Add tests for version auto-detection from filename/metadata - Add tests for version listing and retrieval - Add tests for download by version: prefix - Add tests for version deletion - Test version resolution priority (version: vs tag: prefixes)
This commit is contained in:
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Added download API tests: tag: prefix resolution, 404 for nonexistent project/package/artifact
|
||||
- Added download header tests: Content-Type, Content-Length, Content-Disposition, ETag, X-Checksum-SHA256
|
||||
- Added error handling tests: timeout behavior, checksum validation, resource cleanup, graceful error responses
|
||||
- Added version API tests: version creation, auto-detection, listing, download by version prefix, deletion
|
||||
- Added `package_versions` table for immutable version tracking separate from mutable tags (#56)
|
||||
- Versions are set at upload time via explicit `version` parameter or auto-detected from filename/metadata
|
||||
- Version detection priority: explicit parameter > package metadata > filename pattern
|
||||
|
||||
Reference in New Issue
Block a user