-
Notifications
You must be signed in to change notification settings - Fork 22
Just clean all leftover instrumented tests #454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just clean all leftover instrumented tests #454
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, though codeflash will probably optimize the regex away to module level
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Bug fix, Enhancement
Description
Add static method to find instrumented test files
Invoke cleanup before optimization run
Refactor
cleanup_temporary_pathslogicImprove regex for test file matching
Changes diagram
Changes walkthrough 📝
optimizer.py
Refactor and extend cleanup logiccodeflash/optimization/optimizer.py
cleanup_pathsfromcode_utilsfind_leftover_instrumented_test_filesstatic methodrun()cleanup_temporary_pathsimplementation