| Crates.io | htsget-test |
| lib.rs | htsget-test |
| version | 0.7.1 |
| created_at | 2023-01-06 09:36:49.734502+00 |
| updated_at | 2024-10-17 01:15:09.153197+00 |
| description | Common test functions and utilities used by htsget-rs. |
| homepage | https://github.com/umccr/htsget-rs/blob/main/htsget-test/README.md |
| repository | https://github.com/umccr/htsget-rs |
| max_upload_size | |
| id | 752209 |
| size | 46,525 |
Common test functions and utilities used by htsget-rs.
This crate contains shared code used for testing by other htsget-rs crates. It has common server tests, as well as other utility functions.
There is no need to interact with this crate for running htsget-rs.
This crate contains util functions and server_tests. The server_tests use some example requests
to test the ticket server and the data block server. To use the server_tests, TestServer and
TestRequest need to be implemented, and then the test_* functions can be called.
This library is intended to be used as a development dependency.
This crate has the following features:
http: used to enable common functionality for HTTP tests.aws-mocks: used to enable AWS mocking for tests.s3-storage: used to enable S3Storage functionality.url-storage: used to enable UrlStorage functionality.experimental: used to enable experimental features that aren't necessarily part of the htsget spec, such as Crypt4GH support through C4GHStorage.This project is licensed under the MIT license.