-
Notifications
You must be signed in to change notification settings - Fork 15
Update shared_tests README #110
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -17,21 +17,7 @@ Component test suites that should use those shared tests are: | |||||||||
| └── test_cases.yaml # analysis test cases definition (top level keys should match to directory names with expected results) | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| ``` | ||||||||||
| # tc.yaml | ||||||||||
| --- | ||||||||||
| description: <description of the test, could be just name of the app or more detailed> | ||||||||||
| input: <input application to be analyzed, absolute link to e.g. github or local path for binary relative to this file> | ||||||||||
| sources: <array of sources, use [] if empty> | ||||||||||
| targets: <array of targets, use [] if empty> | ||||||||||
| options: <optional array of name,value pairs, e.g. for maven settings file and other advanced options> | ||||||||||
| # Example: | ||||||||||
| #- name: maven-settings | ||||||||||
| # value: ./settings.yaml | ||||||||||
|
|
||||||||||
| ``` | ||||||||||
|
|
||||||||||
| Check out [book-server test case](analysis_book-server/) as an example. | ||||||||||
| Check out [test cases.yml](test_cases.yml) | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainAlign link text with actual filename and clarify. Use the exact filename in the link text for clarity and consistency with the tree. Apply this diff: -Check out [test cases.yml](test_cases.yml)
+See [test_cases.yml](test_cases.yml) for the canonical test case definition.Run this script to verify there are no stale references and confirm which file exists: 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Searching for stale references to tc.yaml..."
rg -n --hidden --glob '!.git' 'tc\.ya?ml' || true
echo -e "\nListing test_cases files present in the repo..."
fd -a 'test_cases.y*ml' || true
echo -e "\nScanning for references to test_cases.yml/.yaml in the repo..."
rg -n --hidden --glob '!.git' 'test_cases\.ya?ml' || trueLength of output: 1559 Align README references to the actual filename and clarify.
-└── test_cases.yaml # analysis test cases definition … Run the provided validation script to ensure there are no stale 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
|
|
||||||||||
| ## Notes | ||||||||||
|
|
||||||||||
|
|
||||||||||
Uh oh!
There was an error while loading. Please reload this page.
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.
Fix extension mismatch: use test_cases.yml consistently.
The tree lists test_cases.yaml, but the link and PR objective point to test_cases.yml. Standardize on .yml to match the PR intent and avoid confusion.
Apply this diff:
📝 Committable suggestion
🤖 Prompt for AI Agents
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.
👍
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.
@mguetta1 Thank you for confirming! The extension standardization will help maintain consistency in the documentation.
ᕕ( ᐛ )ᕗ
If you found this review helpful, would you consider giving us a shout-out on X?
Thank you for using CodeRabbit!