SetUp and TearDown in Test module?

fspreck-indiscale
Wed, 22 Sep 2021 15:29:20 +0000
General Usage

Hello everyone,

I’m still quite new to Julia, so please excuse me if I have missed something obvious here. Is there a way in Test.jl to declare functions that are called before/after every @testset similar to SetUp/TearDown methods in other languages like C++ or Python? If there isn’t, are there best practices on implementing something similar for a test suit?

5 posts - 4 participants