Pytest Fixtures: Explicit, Modular, Scalable Pytest Documentation
One possibility might be to go with the addfinalizer technique as a substitute of yield fixtures, but that might get pretty advanced and troublesome to take care of (and it wouldn’t be compact anymore). The staff has a chance to ask you questions and be taught from your testing. The…