parametrize_from_file
parametrize_from_file copied to clipboard
Read unit test parameters from config files
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,...