Description
Hi,
thanks for providing this plugin. It is a great improvement over having to write your own powershell code for running MATLAB on DevOps agents.
I have encountered a couple of issues which might be a basis for an enhancement of a future release.
1.)
By default, when running MATLAB tests with the plugin, it first scans the root folder for test files. In my case, there are a bunch of test helper classes which are used during test setup and execution. Some are simple enums, some are more complex classes which handle setting up a SQL database before a test.
The tests using these classes are automatically filtered out when executing the tests because the MATLAB session does not know the classes when setting up the suite.
First of all, is there currently a more elegant way to work around this than just using a RunMATLABCommand@0 which runs a script that adds the classes to the search path?
It would be nice to have an additional setting for RunMATLABTests@0 where you can specify code that should be executed before setting up the suite such that you can add helper classes to the path.
2.)
When specifying a selectByFolder option in RunMATLABTests@0 and passing in an absolute path like "C:\Users\Public" on a Windows agent, this leads to two paths being added to the search path: "C" and "Users\Public" due to the colon separation feature.
I have not found a way to work around this on Windows machines. Would it be an option to remove that feature and instead only allowing semicolons as separators?
I'd be happy to discuss these points with you.
Best
Pascal