Compatibility directory currently names files after the test script. Because many measures have a test named measure_Test.rb they show in dashboard as not loaded on the dashboard, despite the fact that tests ran and can be seen on minitest dashboard.
My basic solution for this that I'll work on in a branch is to rely on class name instead of the test file name. This should generally work, but it still isn't bulletproof. There could be a repo with measures in different directories that share the same class, but this isn't ideally and generally should be avoided anyway. If we did want to address that I could prefix the class name with the containing directories up to the level that the dashboard is being run for.
Compatibility directory currently names files after the test script. Because many measures have a test named
measure_Test.rb
they show in dashboard as not loaded on the dashboard, despite the fact that tests ran and can be seen on minitest dashboard.My basic solution for this that I'll work on in a branch is to rely on class name instead of the test file name. This should generally work, but it still isn't bulletproof. There could be a repo with measures in different directories that share the same class, but this isn't ideally and generally should be avoided anyway. If we did want to address that I could prefix the class name with the containing directories up to the level that the dashboard is being run for.