How To Install ruby-minitest on Kali Linux
Introduction
In this tutorial we learn how to install ruby-minitest
on Kali Linux.
What is ruby-minitest
ruby-minitest is:
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 object framework.
minitest/pride shows pride in testing and adds coloring to your test output.
minitest/unit is meant to have a clean implementation for 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.
There are three methods to install ruby-minitest
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ruby-minitest Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install ruby-minitest
using apt-get
by running the following command:
Install ruby-minitest Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install ruby-minitest
using apt
by running the following command:
Install ruby-minitest Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
After updating apt database, We can install ruby-minitest
using aptitude
by running the following command:
How To Uninstall ruby-minitest on Kali Linux
To uninstall only the ruby-minitest
package we can use the following command:
Uninstall ruby-minitest And Its Dependencies
To uninstall ruby-minitest
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove ruby-minitest Configurations and Data
To remove ruby-minitest
configuration and data from Kali Linux we can use the following command:
Remove ruby-minitest configuration, data, and all of its dependencies
We can use the following command to remove ruby-minitest
configurations, data and all of its dependencies, we can use the following command:
Dependencies
ruby-minitest have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-minitest
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.