Skip to content

Conversation

KarolinaPomian
Copy link
Collaborator

@KarolinaPomian KarolinaPomian commented Sep 5, 2025

What was documented?
Documentation was added covering the setup and usage instructions for the validation. A quickstart section and detailed information were added.

Why was the markdown added to the smoke ignore now?
The markdown file was added to the smoke ignore to prevent it from being included in automated tests or checks, since it contains only documentation and not executable code.

Comment on lines 49 to 54
### Prerequisites

- Python 3.9 or higher
- Media Transport Library built and installed
- Network interfaces configured for testing
- Sufficient permissions for network management
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • It is also necessary to have the files used as input data. We currently have them on NFS.
  • What does it mean to have "Network interfaces configured for testing"? I guess you need to have to have everything done form MTL's run.md, but VF are created automatically.
  • by "Sufficient permissions for network management" you mean you have to be root user? Is there any other option?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • you need to install ffmpeg and gstreamer plugins to run some of the tests.

- **name**: Host identifier
- **instantiate**: Whether to instantiate the host
- **role**: Host role (e.g., sut for System Under Test)
- **network_interfaces**: List of network interfaces
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can I specify device differently? I think there was an option to provide system name. How to do it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For that please refer to mfd documentation, there are many ways of specifying the device.

@DawidWesierski4
Copy link
Collaborator

DawidWesierski4 commented Sep 8, 2025

I don't understand the point of the commit message

All this information is in the documentation itself.
Please keep it brief and imperative
What was documented?
Why was the markdown added to the smoke ignore now?
Answering those 2 questions should be enough

Adding the boilerplate above is useless

Copy link
Collaborator

@DawidWesierski4 DawidWesierski4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I generally don't think this is a good approach of adding documentation
we have doc folder why not put the documentation there?

this is the approach we were doing till now
although inconsistently (we have a README for gstreamer in gstreamer)
i still would prefer to have those in doc

refactored so that tere is a
quickstart ->

Then more detailed info

I don't think this provides enough clarity which was the whole point as it is


- Creates test patterns in various formats
- Supports different resolutions and frame rates
- Configurable color patterns and test signals
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mby adding usage here would be good ?

@KarolinaPomian KarolinaPomian force-pushed the readme-update-validation branch 2 times, most recently from 65cd2f0 to a1f759f Compare September 24, 2025 09:38
KarolinaPomian and others added 5 commits September 24, 2025 09:49
Address GitHub review comment by:
1. Moving detailed documentation to doc/validation_framework.md
2. Simplifying tests/validation/README.md to be a quickstart guide
3. Adding a clear reference to the main documentation

This follows the project's approach of keeping detailed documentation in the doc/ directory while providing a concise quickstart guide in the component's README.md.
- Add missing MTL build prerequisite - tests fail without RxTxApp binary
- Clarify virtual environment setup path discrepancy
- Improve configuration file examples with realistic values
- Add comprehensive troubleshooting section for common new developer issues
- Update both main validation_framework.md and tests/validation/README.md

Fixes issues identified during new developer testing of validation framework documentation.
- Add critical warnings about placeholder values that must be updated
- Add step-by-step setup instructions for both config files
- Include commands to find PCI device IDs and verify SSH keys
- Highlight required updates with warning symbols

Addresses configuration confusion identified during new developer testing.
- Add interactive paths and clear directory requirements for all commands
- Create validation_quickstart.md for rapid setup with step-by-step guide
- Enhance validation_framework.md with root user requirements and device options
- Add gen_frames.sh usage documentation with supported formats
- Include specific test parameter examples and VF creation instructions
- Update tests/validation/README.md with clickable config file links
- Add comprehensive troubleshooting and multiple device specification methods
- Improve documentation hierarchy following repository standards

Addresses developer feedback for clearer setup instructions and eliminates
common configuration issues that block new developers.
KarolinaPomian and others added 4 commits September 24, 2025 10:00
- Fix directory specification: clarify tests/validation/ must be current dir for pip install
- Add gen_frames.sh usage details: specify directory and supported formats
- Add interactive paths for test_config.yaml and topology_config.yaml
- Add device specification options including system name method
- Add comprehensive pytest parameter execution examples
- Emphasize root user requirement more clearly throughout
- Clean up duplicated device specification sections
- Add clearer file location information for both config files
- Add clickable markdown links to test_config.yaml and topology_config.yaml
- Include clear file location paths for easy navigation
- Improve accessibility for developers navigating configuration files
- Remove duplicate 'Test Framework Structure' heading
- Fix list indentation (use 0 spaces instead of 2)
- Remove trailing spaces throughout documentation
- Fix trailing punctuation in heading (remove colon)
- Rename duplicate 'Setup Instructions' heading to 'Topology Setup Instructions'
- Ensure consistent markdown formatting across all documentation files

Resolves all MD024, MD007, MD009, and MD026 linting issues.
@KarolinaPomian KarolinaPomian force-pushed the readme-update-validation branch 2 times, most recently from f42a439 to 298c449 Compare September 24, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants