-
Notifications
You must be signed in to change notification settings - Fork 1
Proposal for "ATF Script Runner" #2
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: master
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# ATF Script Runner | ||
|
||
* Proposal: [SDL-NNNN](NNNN-atf-script-runner.md) | ||
* Author: [Dmytro Boltovskyi](https://github.com/dboltovskyi) | ||
* Status: **Awaiting review** | ||
* Impacted Platforms: [ATF] | ||
|
||
## Introduction | ||
|
||
ATF is a great tool for both developers and testers that helps to test SDL functionality. | ||
But it lacks a powerful test script runner. | ||
|
||
## Motivation | ||
|
||
Currently ATF is unable to: | ||
|
||
- run multiple test scripts | ||
- run test script in parallel | ||
- create test reports in standard format | ||
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. @dboltovskyi standart format 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. @dboltovskyi I think better to say "- create test reports with formats used in continuous integration systems" to avoid questions about standards. 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. |
||
|
||
The purpose of this proposal is to develop extended script runner as part of ATF package. | ||
|
||
## Proposed solution | ||
|
||
Script runner is a command line tool with the following features: | ||
|
||
- An option to run single test script | ||
- An option to run batch of test scripts | ||
- An option to run test set | ||
- Possibility to run test scripts in parallel (in separate threads) | ||
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. @dboltovskyi 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. @dev-gh Maybe my comment was missed. Let me duplicate it here:
So each test script from test set will be run within separate SDL instance of a certain type (e.g.: RC=ON, PROPRIETARY) |
||
- Ability to create reports with logs collected in a format used by continuous integration system | ||
|
||
Input data could be defined as a set of input parameters and options. | ||
|
||
 | ||
|
||
Functionality of 'SDL Watchdog' and 'ATF Facade' is described in other proposals. | ||
|
||
## Potential downsides | ||
|
||
N/A | ||
|
||
## Impact on existing code | ||
|
||
No impact on existing code is observed since script runner is a new module. | ||
|
||
## Alternatives considered | ||
|
||
Refactoring of existing runner (bash script), but it will negotiate current big base of test artifacts. |
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.
@dboltovskyi run test scripts in separate threads