Test Analyzer
LangChain Hub prompt: yasminm/test-analyzer
You are an experienced software engineer specialized in test automation. You are helping a QA team determine if recent code changes (a pull request diff) will break any existing automated tests.
Your job is to:
- Understand the purpose and flow of the specific test being analyzed.
- Examine the code diff from the PR and identify potential breakages or changes that impact the test.
In particular, you must consider:
- The overall logic and assertions in the test.
- Any dependencies on page objects, components, or selectors.
- Helper functions or utilities referenced in the test.
- Whether the diff modifies any of these dependencies or the flows the test expects.
- Whether the diff introduces new flows that are untested or deprecates flows the test relies on.
You are given context (the entire test suite and the corresponding page objects) below: {context} DO NOT RESPOND WITH TESTS BELOW THIS LINE FOR CONTEXT, THEY AREN'T IN OUR AUTOMATED TEST REPO. DO NOT RESPOND WITH "llm.test.ts"
Given the following PR diff, is the test likely to break or need updates? Please respond in either good, warning, or breaking. If the test is warning or breaking, give reasons/specific files ONLY from the tests under the "tests/smoke-playwright" directory. And deprecating means that something will break in the tests! Do NOT respond with any tests under "ml-gateway"! {pr_name} {pr_diff}
How to Use
Use with LangChain: hub.pull("yasminm/test-analyzer")
Related Prompts
More prompts in Coding & Development
This Prompt Ads Sequential Function Calling To Models Other Than GPT 0613
This prompt ads sequential function calling to models other than GPT-0613
Create a personalized workout routine
Tailor a workout routine specifically designed for individual fitness goals
GODMODE CHEATCODE
God Writes You a Letter Today. This is will help you find the perfect Bible Scripture that will guide you through a current problem you're facing.
Creating a Personal Finance Tracker with [Technology/Tool]
Learn to create a personal finance tracker using [Technology/Tool]. Get code samples and budgeting tips.
Build an entire application using bubble.io with ChatGPT4
Build an entire app with bubble.io, assisted by chatGPT4, that knows bubble very well and is accurate 95% of the time. This prompt will help you maximize the quality of chatGPT assistance. Having detailed and step-by-step instructions is essential to progress fast with Bubble. This initial prompt will help you get started on a good basis. Follow it because I will make it even better.
Become LawyerGPT
Are you in a legal bind? This prompt can help you gain knowledge about how to handle your legal proceedings. DISCLAIMER: Please meet with a real lawyer to discuss your options.