Install dh-octave-autopkgtest by entering the following commands in the terminal:
sudo apt update sudo apt install dh-octave-autopkgtest
script for the automatic testing of Octave add-on packages
This package contains the dh_octave_check script that runs the unit tests contained in all *.m and *.cc files available in the source tree from which it is launched. It is intended to be used by the support for Octave-Forge add-on packages, which is implemented in autodep8.