parametrize_from_file icon indicating copy to clipboard operation
parametrize_from_file copied to clipboard

Read unit test parameters from config files

Results 6 parametrize_from_file issues
Sort by recently updated
recently updated
newest added

Hello! I am using your library to parametrize my tests! I am using [Pydantic](https://github.com/pydantic/pydantic) in my project and would like to use it to (de)serialize the input objects with it....

It looks like there's been a 0.19.0 release, but this hasn't made it to the releases page on GitHub. Once this is done I'll get it packaged up for Alpine.

PyCharm is not happy about something with the decorator and I'm not sure why

It'd be nice to have some ability to recurse into nested data structures. I think I can already descend into dicts using `cast()`, but I need another function for containers....

- Each time a file is loaded, note the top-level keys in global variable. - Each time a test is run, note which parameters were actually used. - At the...

The basic idea would be to load the file and then to look in `globals()` for test cases, e.g.: ``` test_foo = [ dict( given=1, expected=2, ), dict( given=3, expected=4,...