-
Notifications
You must be signed in to change notification settings - Fork 0
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
Closes #143 Add report add process to rename and push test files to git #174
base: develop
Are you sure you want to change the base?
Conversation
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.
Thanks @Khadreal
do we really need shell file for that task? I was thinking of making the whole code in JS, this will increase simplicity and maintainability.
https://nodejs.org/docs/latest/api/fs.html#fs_fs_rename_oldpath_newpath_callback
What do u think?
@MathieuLamiot I have a question from the A/C here
|
No @jeawhanlee, it doesn't store report for every run. It only move the reports and store when the |
@Khadreal Correct if I'm wrong, we will move reports & store every time for general test run as well as smoke? no? |
@jeawhanlee we would only move report and store for general and smoke test if tag parameter are present if not we wouldn't and the behaviour remains the same before now. |
I had a discussion with @Khadreal, Thanks for the clarification |
Description
Created a bash script and a script to move test-results to a central location.
Fixes #143
Organise report after running a test
Type of change
Detailed scenario
N/A
Technical description
Documentation
You can move the
test-results
folder for only two test so far(smoke and e2e test). To move the test-results directory after running your test, you need to add a tag parameter without it the test-results won't be move or rename.Example --
npm run test:smoke --tag= WPR3.17.4_e2e1.0.0
npm run test:e2e --tag= WPR3.17.4_e2e1.0.0
After the test is complete the
test-results
folder would be rename toWPR3.17.4_e2e1.0.0
and moved to the central localtion(/var/shared/rocket-e2e-reports
)Note -- Without the tag parameter the test-reports won't be move or rename.
Mandatory Checklist
Code validation
Code style