htsget-test

Crates.iohtsget-test
lib.rshtsget-test
version0.6.1
sourcesrc
created_at2023-01-06 09:36:49.734502
updated_at2024-05-22 03:10:30.263114
descriptionCommon test functions and utilities used by htsget-rs.
homepagehttps://github.com/umccr/htsget-rs/blob/main/htsget-test/README.md
repositoryhttps://github.com/umccr/htsget-rs
max_upload_size
id752209
size40,943
Marko Malenic (mmalenic)

documentation

https://github.com/umccr/htsget-rs/blob/main/htsget-test/README.md

README

htsget-test

MIT licensed Build Status

Common test functions and utilities used by htsget-rs.

Overview

This crate contains shared code used for testing by other htsget-rs crates. It has common server tests, as well as other utility functions.

Usage

For running htsget-rs as an application

There is no need to interact with this crate for running htsget-rs.

As a library

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.

Feature flags

This crate has the following features:

  • http-tests: used to enable common functionality for HTTP tests.
  • cors-tests: used to enable CORS tests.
  • server-tests: used to enable server tests.
  • s3-storage: used to enable S3Storage functionality.
  • url-storage: used to enable UrlStorage functionality.

License

This project is licensed under the MIT license.

Commit count: 707

cargo fmt