tpgillam / TimeDag.jl

A computational graph for time-series processing.
MIT License
17 stars 3 forks source link

TestUtils module #70

Open willtebbutt opened 2 years ago

willtebbutt commented 2 years ago

There's lots of useful testing utilities in test/common.jl. It would be helpful if these were moved inside src into a module called TestUtils (consistent with standard naming conventions), so that others implementing new NodeOps etc can make use of this functionality (e.g. I'm doing this right now, and thinking "I'd really like to be able to run that _eval function that gets used in the TimeDag tests so that I can be sure my op handles the batch_interval correctly....")

tpgillam commented 2 years ago

We should definitely do this.

I think that doing #34 will be dependent on doing this (and associated test refactoring) first.

My rough takeaways from our meeting: