Add integration tests for config validation and rate limiting
- tests/config_validation.rs: Tests binary error handling for missing files, invalid config, missing fields, and filesystem issues - tests/rate_limiting.rs: Placeholder for rate limiting tests (complex TLS testing deferred) - Integration tests run automatically with cargo test and pre-commit hook - Tests validate user-facing error messages and exit codes
This commit is contained in:
parent
13acdd9bcb
commit
4b4651384c
2 changed files with 93 additions and 0 deletions
5
tests/rate_limiting.rs
Normal file
5
tests/rate_limiting.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#[test]
|
||||
fn test_placeholder() {
|
||||
// Placeholder test - rate limiting integration test to be implemented
|
||||
assert!(true);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue