pytest-inline
pytest-inline copied to clipboard
pytest-inline is a pytest plugin for writing inline tests.
Hi. Do you plan to implement mock features? It would be amazing
- Replaced itest() devices parameter with diff_given() function call. Functionality is carried over from constructor. - Added back original diff_test() function. A future PR will address pytorch dependency. - Added...
- Inline tests now support importing any external module, as long as all imported modules exist and are installed in the environment - Added standalone tests for import functionality
(Note: this is a duplicate of a previous pull request. Repo was unliked and reforked to remove undesired changes from original fork.) Inline Test constructor has been refactored to improve...
Inline tests support imported libraries. - The libraries must be installed onto the user's environment - Currently only supports libraries defined at the module level; does not support function or...