dysonance / Strategems.jl

Quantitative systematic trading strategy development and backtesting in Julia
Other
163 stars 39 forks source link

Shouldn't use global variable inside testset #18

Open femtotrader opened 5 years ago

femtotrader commented 5 years ago

https://github.com/dysonance/Strategems.jl/blob/133b58f596739f1b89c5978a2d88c02e2902dc7f/test/runtests.jl#L8

You should use instead nested testsets to isolate tests and "share" variables