diff options
author | Marius Bakke <marius@gnu.org> | 2022-07-26 00:41:37 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-07-27 12:31:25 +0200 |
commit | 65a0cb14cd27bfe53a233dd391e451dc3ffd7fca (patch) | |
tree | 96b3d416e8b9726cf660bc4ebd7a4419571e9e92 | |
parent | 42eaddb1e1f36f8ca54196e009071a35ce742e03 (diff) | |
download | guix-65a0cb14cd27bfe53a233dd391e451dc3ffd7fca.tar.gz |
gnu: Add rust-test-generator.
* gnu/packages/crates-io.scm (rust-test-generator-0.3): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a79ccf7d92..544d85a544 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -62780,6 +62780,33 @@ into mod, giving clear and readable test results.") for TLS).") (license (list license:expat license:asl2.0)))) +(define-public rust-test-generator-0.3 + (package + (name "rust-test-generator") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (crate-uri "test-generator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1h03y4503jhhrks4m7xqfjya9lsx3ip5dlbldr7mgcws6j8bx5za")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glob" ,rust-glob-0.3) + ("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-quote" ,rust-quote-0.6) + ("rust-syn" ,rust-syn-0.15)))) + (home-page "https://github.com/frehberg/test-generator") + (synopsis "Generate parameterized tests from different input parameters") + (description + "This crate provides @code{#[test_resources]} and @code{#[bench_resources]} +procedural macro attributes that generates multiple parameterized tests using +one body with different resource input parameters. A test is generated for +each resource matching the specific resource location pattern.") + (license license:asl2.0))) + (define-public rust-tester-0.5 (package (name "rust-tester") |