-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
There is a preferred way to run parametrized texts?
For example I'm testing a scientific code on a series of molecules, something like:
def calc_energy(molecule, expected_energy):
....
I've tried to implement a context as a generator, something like:
def generate_mol():
# extracting molecule objects from files...
for mol,en in zip(molecules, energies):
yield mol, en
But, of course this is not working because this is not a context as intended.
I was looking mainly for suggestions (or plans for a specific support in attest) on how to handle these cases of testing.
Metadata
Metadata
Assignees
Labels
No labels