How To Install rubygem-minitest5 on CentOS 7
Introduction
In this tutorial we learn how to install rubygem-minitest5
on CentOS 7.
What is rubygem-minitest5
minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking. minitest/unit is a small and incredibly fast unit testing framework. It provides a rich set of assertions to make your tests clean and readable. minitest/spec is a functionally complete spec engine. It hooks onto minitest/unit and seamlessly bridges test assertions over to spec expectations. minitest/benchmark is an awesome way to assert the performance of your algorithms in a repeatable manner. Now you can assert that your newb co-worker doesn’t replace your linear algorithm with an exponential one! minitest/mock by Steven Baker, is a beautifully tiny mock (and stub) object framework. minitest/pride shows pride in testing and adds coloring to your test output. I guess it is an example of how to write IO pipes too. language implementors that need a minimal set of methods to bootstrap a working test suite. For example, there is no magic involved for test-case discovery. minitest doesn’t reinvent anything that ruby already provides, like have to learn ruby to use minitest and all of your regular OO practices like extract-method refactorings still apply.
We can use yum
or dnf
to install rubygem-minitest5
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-minitest5.
Install rubygem-minitest5 on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install rubygem-minitest5
using yum
by running the following command:
Install rubygem-minitest5 on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install rubygem-minitest5
using dnf
by running the following command:
How To Uninstall rubygem-minitest5 on CentOS 7
To uninstall only the rubygem-minitest5
package we can use the following command:
References
Summary
In this tutorial we learn how to install rubygem-minitest5
on CentOS 7 using yum
and dnf
.