It would be nice to have some examples for a good ModulesTest.
I guess for a module loading a tool, it could be checked that the main tool is found in $PATH and can display its version number without crashing, meaning that it finds its libraries and was compiled for the right architecture.
For a module that sets up a project environment, it could be checked that the user is allowed to cd into the project directory and maybe touch a file there.
Any more?
It would be nice to have some examples for a good ModulesTest.
I guess for a module loading a tool, it could be checked that the main tool is found in
$PATHand can display its version number without crashing, meaning that it finds its libraries and was compiled for the right architecture.For a module that sets up a project environment, it could be checked that the user is allowed to
cdinto the project directory and maybetoucha file there.Any more?