[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/24: gnu: Add rust-test-case-1.
From: |
guix-commits |
Subject: |
14/24: gnu: Add rust-test-case-1. |
Date: |
Tue, 5 Jan 2021 15:17:07 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 3b6e3a5ff695c61ec7ff203c7b0d3524d619532c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Dec 21 22:44:31 2020 +0100
gnu: Add rust-test-case-1.
* gnu/packages/crates-io.scm (rust-test-case-1): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9939ac8..a147ff5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33677,6 +33677,38 @@ return values to @code{std::io::Result} to indicate
success or failure.")
streams.")
(license license:expat)))
+(define-public rust-test-case-1
+ (package
+ (name "rust-test-case")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "test-case" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1j33njgyr4cjhil14va909sg8s6ahzpgcmiaigdg7g22ica6950r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #false ;XXX: a single test fails, cannot skip it
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1)
+ ("rust-version-check" ,rust-version-check-0.9))
+ #:cargo-development-inputs
+ (("rust-insta" ,rust-insta-0.12)
+ ("rust-lazy-static" ,rust-lazy-static-1))))
+ (home-page "https://github.com/frondeus/test-case")
+ (synopsis "Procedural macro attribute for parametrized test cases")
+ (description
+ "This crate provides @code{#[test_case]} procedural macro attribute that
+generates multiple parametrized tests using one body with different input
+parameters. A test is generated for each data set passed in test_case
+attribute. Under the hood, all test cases that share same body are grouped
+into mod, giving clear and readable test results.")
+ (license license:expat)))
+
(define-public rust-tester-0.5
(package
(name "rust-tester")
- 01/24: gnu: Add rust-extend-0.1., (continued)
- 01/24: gnu: Add rust-extend-0.1., guix-commits, 2021/01/05
- 06/24: gnu: Add rust-flume-0.9., guix-commits, 2021/01/05
- 10/24: gnu: Add rust-curl-0.4., guix-commits, 2021/01/05
- 07/24: gnu: Add rust-enum-to-u8-slice-derive-0.1., guix-commits, 2021/01/05
- 08/24: gnu: Add rust-mesalink-1., guix-commits, 2021/01/05
- 03/24: gnu: Add rust-mockito-0.23., guix-commits, 2021/01/05
- 11/24: gnu: Add rust-env-logger-0.8., guix-commits, 2021/01/05
- 12/24: gnu: Add rust-indicatif-0.15., guix-commits, 2021/01/05
- 16/24: gnu: Add rust-sharded-slab-0.1., guix-commits, 2021/01/05
- 17/24: gnu: rust-thread-local-1: Drop minor version from name., guix-commits, 2021/01/05
- 14/24: gnu: Add rust-test-case-1.,
guix-commits <=
- 22/24: gnu: rust-serde-derive-1: Update to 1.0.118., guix-commits, 2021/01/05
- 13/24: gnu: Add rust-insta-0.12., guix-commits, 2021/01/05
- 18/24: gnu: Add rust-tracing-subscriber-0.2., guix-commits, 2021/01/05
- 20/24: gnu: Add rust-async-native-tls-0.3., guix-commits, 2021/01/05
- 24/24: gnu: rust-threadpool-1: Drop minor version from name., guix-commits, 2021/01/05
- 19/24: gnu: Add rust-isahc-0.9., guix-commits, 2021/01/05
- 21/24: gnu: rust-httparse-1: Update to 1.3.4., guix-commits, 2021/01/05
- 23/24: gnu: rust-serde-1: Update to 1.0.118., guix-commits, 2021/01/05
- 15/24: gnu: Add rust-tracing-serde-0.1., guix-commits, 2021/01/05