PawseySC / pawsey-slurm-plugin-configuration

Contains slurm plugin setup for Pawsey
GNU General Public License v3.0
0 stars 1 forks source link

Unit testing for `slurm_cli_pre_submit` function #10

Open halfflat opened 1 year ago

halfflat commented 1 year ago

We currently have unit tests for various helper functions, but not for the main function that ultimately does the work.

For tracking and mocking the read and set options, it would be helpful to make our own translator to and from the 'fake' options table backed by slurm which does not support e.g. iteration. Changes to the options table could also then be more easily reported in debug output from the cli_filter itself.

halfflat commented 1 year ago

Partly resolved in #13 but more to do.