tasty-discover command not found

In this troubleshooting guide we learn how to fix tasty-discover command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

tasty-discover: command not found

or when using sudo you get the following error message

sudo: tasty-discover: command not found

Solutions to tasty-discover: command not found

How To Fix tasty-discover: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tasty-discover is provided by tasty-discover package.

tasty-discover is:

Automatic test discovery and runner for the tasty framework. Prefix your test case names and tasty-discover will discover, collect and run them. All popular test libraries are covered. Configure once and then just write your tests. Avoid forgetting to add test modules to your Cabal/Hpack files. Tasty ingredients are included along with various configuration options for different use cases.

To fix this problem, we can install more using the command below.

sudo apt-get -y install tasty-discover

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install tasty-discover.

sudo apt -y install tasty-discover

Or if you have aptitude installed you can use the following command.

sudo aptitude install tasty-discover

Summary

In this tutorial we learn how to fix tasty-discover command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.