anaconda / percy

A tool to work on recipes from aggregate.
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

Provide mechanism for mocking a Recipe #32

Open schuylermartin45 opened 1 year ago

schuylermartin45 commented 1 year ago

As more scripts will start to use percy, and especially the Recipe class, it would be convenient to provide a mocker for a Recipe object, or at least, a mechanism/documentation for easily creating them.

A number of functions in recipe-bootstrapper can't be tested without a Recipe mocker. I'm sure other tools will want to mock Recipes too, and I'd prefer to standardize mocking somewhere before everyone has to invent their own.

schuylermartin45 commented 1 year ago

Tracking: https://anaconda.atlassian.net/browse/PAT-165