cabal-debian-tests: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/cabal-debian-tests - from package: cabal-debian

You may install the required package with command apt-get install {package}
Error in other languages:
cabal-debian-tests: bevel nie gevind nie
cabal-debian-tests: comandă negăsită
cabal-debian-tests: comando não encontrado
cabal-debian-tests: commande introuvable
cabal-debian-tests: command not found
cabal-debian-tests: käsku ei ole
cabal-debian-tests: không tìm thấy lệnh
cabal-debian-tests: komanda nerasta
cabal-debian-tests: Kommando nicht gefunden.
cabal-debian-tests: kommandot finns inte
cabal-debian-tests: komut yok
cabal-debian-tests: nie znaleziono polecenia
cabal-debian-tests: níor aimsíodh an t-ordú
cabal-debian-tests: no se encontró la orden
cabal-debian-tests: no s'ha trobat l'ordre
cabal-debian-tests: opdracht niet gevonden
cabal-debian-tests: parancs nem található
cabal-debian-tests: perintah tidak ditemukan
cabal-debian-tests: príkaz nenájdený
cabal-debian-tests: příkaz nenalezen
cabal-debian-tests: команда не найдена
cabal-debian-tests: командата не е открита
cabal-debian-tests: 命令找不到
cabal-debian-tests: コマンドが見つかりません