Right now, CrossHair only produces import statements for (1) the function getting tested, and (2) pytest itself, if needed.
It doesn't produce imports for any of the user-defined classes, enums, etc needed for constructing inputs or values to compare the output to. Sadly, fixing this issue isn't a trivial lift.
Right now, CrossHair only produces import statements for (1) the function getting tested, and (2) pytest itself, if needed.
It doesn't produce imports for any of the user-defined classes, enums, etc needed for constructing inputs or values to compare the output to. Sadly, fixing this issue isn't a trivial lift.