mathworks / climatedatastore

Climate Data Store Toolbox for MATLAB
Other
37 stars 10 forks source link

ToolboxPackaging.prj mistakenly reports requirements on tests #14

Closed michellehirsch closed 1 year ago

michellehirsch commented 1 year ago

Todo: Rerun "Analyze toolbox" in the ToolboxPackaging.prj file.

Currently, there is a warning under Requirements that files outside the toolbox folder are required (a couple of tests). If you rerun analysis, this will go away.

rpurser47 commented 1 year ago

Fun issue. I use unit test mocks to test the toolbox without sending hundreds of requests to Copernicus. The dependency analysis was picking up that infrastructure, which is not part of the toolbox. Removed the direct dependency to hide the mocking system from the code analyzer.

Stupidly mixed together two things -- key diff is this one