Challenge: Identify Outlier Test Durations
Spotting outlier test durations is a vital skill for QA engineers, as it helps you quickly identify problematic tests that may be slowing down your pipeline or masking deeper issues. Outliers among failed tests can signal flaky tests, infrastructure hiccups, or code regressions that deserve immediate attention. In this challenge, you will use a hardcoded pandas DataFrame representing test cases, each with a duration and status, and apply seaborn to visualize the distribution of test durations. Your goal is to highlight any outliers among the failed tests, making it easier to prioritize investigation and continuous improvement of your test suite.
Swipe to start coding
Implement a function to plot test durations and highlight outliers among failed tests using seaborn.
- The function must plot the distribution of test durations for each test status using seaborn.
- Outliers in the durations, especially among failed tests, must be visually highlighted in the plot.
- The function must use the provided DataFrame as input.
Lösung
Danke für Ihr Feedback!
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Großartig!
Completion Rate verbessert auf 4.76
Challenge: Identify Outlier Test Durations
Swipe um das Menü anzuzeigen
Spotting outlier test durations is a vital skill for QA engineers, as it helps you quickly identify problematic tests that may be slowing down your pipeline or masking deeper issues. Outliers among failed tests can signal flaky tests, infrastructure hiccups, or code regressions that deserve immediate attention. In this challenge, you will use a hardcoded pandas DataFrame representing test cases, each with a duration and status, and apply seaborn to visualize the distribution of test durations. Your goal is to highlight any outliers among the failed tests, making it easier to prioritize investigation and continuous improvement of your test suite.
Swipe to start coding
Implement a function to plot test durations and highlight outliers among failed tests using seaborn.
- The function must plot the distribution of test durations for each test status using seaborn.
- Outliers in the durations, especially among failed tests, must be visually highlighted in the plot.
- The function must use the provided DataFrame as input.
Lösung
Danke für Ihr Feedback!
single