lundi 23 décembre 2019

Is there an rspec like "shared context" feature for Python

So I've been writing test automation in Ruby for quite a while. Using it with rspec, and there's a neat thing called "shared context", which basically means you can call that part of code in any other test without the need to write it again and thus helping you DRY your code.

Right now I want to move to Python and I was wondering if there's a similar thing there?

Any help is appreciated. Thanks.

Aucun commentaire:

Enregistrer un commentaire