-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: compute_name function now accepts network
- this covers the case where a user will upload their test results file for pytest without -o junit_family=legacy, but with their network set - this is the network that is usually uploaded from the CLI - the network is optional argument and defaults to None - since it's usually a list of file paths that contain the paths to source files we can use it to deduce the path associated with a pytest test result if the filename has not been provided - this commit also moves the tests from python to rust and removes the python interface for the compute_name function since it's no longer needed - there's possibly future work that can be done to optimize this process of matching the test result classname to files in the network, but this is a minimal working solution, it's also possible that with the updated instructions in the docs
- Loading branch information
1 parent
d9346a6
commit 3f879b6
Showing
4 changed files
with
146 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.