How To Install rust-test-case-devel on Fedora 36

In this tutorial we learn how to install rust-test-case-devel in Fedora 36. rust-test-case-devel is Procedural macro attribute for generating parametrized test cases

Introduction

In this tutorial we learn how to install rust-test-case-devel on Fedora 36.

What is rust-test-case-devel

Provides #[test_case(…)] procedural macro attribute for generating parametrized test cases easily. This package contains library source intended for building other packages which use “test-case” crate.

We can use yum or dnf to install rust-test-case-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-test-case-devel.

Install rust-test-case-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rust-test-case-devel using dnf by running the following command:

sudo dnf -y install rust-test-case-devel

Install rust-test-case-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rust-test-case-devel using yum by running the following command:

sudo yum -y install rust-test-case-devel

How To Uninstall rust-test-case-devel on Fedora 36

To uninstall only the rust-test-case-devel package we can use the following command:

sudo dnf remove rust-test-case-devel

rust-test-case-devel Package Contents on Fedora 36

/usr/share/cargo/registry/test-case-1.2.1
/usr/share/cargo/registry/test-case-1.2.1/.cargo-checksum.json
/usr/share/cargo/registry/test-case-1.2.1/CHANGELOG.md
/usr/share/cargo/registry/test-case-1.2.1/Cargo.toml
/usr/share/cargo/registry/test-case-1.2.1/LICENSE
/usr/share/cargo/registry/test-case-1.2.1/README.md
/usr/share/cargo/registry/test-case-1.2.1/build.rs
/usr/share/cargo/registry/test-case-1.2.1/src
/usr/share/cargo/registry/test-case-1.2.1/src/expected
/usr/share/cargo/registry/test-case-1.2.1/src/expected/expr_case.rs
/usr/share/cargo/registry/test-case-1.2.1/src/expected/hamcrest_case.rs
/usr/share/cargo/registry/test-case-1.2.1/src/expected/ignore_case.rs
/usr/share/cargo/registry/test-case-1.2.1/src/expected/mod.rs
/usr/share/cargo/registry/test-case-1.2.1/src/expected/panic_case.rs
/usr/share/cargo/registry/test-case-1.2.1/src/expected/pattern_case.rs
/usr/share/cargo/registry/test-case-1.2.1/src/lib.rs
/usr/share/cargo/registry/test-case-1.2.1/src/test_case.rs
/usr/share/cargo/registry/test-case-1.2.1/src/utils.rs
/usr/share/doc/rust-test-case-devel
/usr/share/doc/rust-test-case-devel/CHANGELOG.md
/usr/share/doc/rust-test-case-devel/README.md
/usr/share/licenses/rust-test-case-devel
/usr/share/licenses/rust-test-case-devel/LICENSE

References

Summary

In this tutorial we learn how to install rust-test-case-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).