Rich error output during baseline establishment (CF-646)#265
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
KRRT7
left a comment
There was a problem hiding this comment.
place the regex in a common place and then import it within the test, if the regex every changes then the test will automatically pick the change
|
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like
Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
User description
It could help the user with cancelling the current run if certain modules are not found during a run.
this PR will only show the first import error as the code would stop executing the moment the first import fails. capturing all import errors will require a different way of test instrumentation.
PR Type
Enhancement
Description
Improve error reporting on missing modules
Detect ModuleNotFoundError in test outputs
Show errors using Rich panel
Add import for regex parsing
Changes walkthrough 📝
function_optimizer.py
Detect and display ModuleNotFoundErrorcodeflash/optimization/function_optimizer.py
refor error parsingTextandPanelfor styled output