Convert existing tests from xml to yaml, and use the yaml2xml converter in the test cases#972
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #972 +/- ##
==========================================
- Coverage 53.58% 53.56% -0.02%
==========================================
Files 129 129
Lines 18383 18383
Branches 4407 4407
==========================================
- Hits 9850 9847 -3
Misses 5822 5822
- Partials 2711 2714 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
FYI, @stevenengler from our dev team will be helping move this along :) |
|
Once you're ready for me to take a look, just mark me as a reviewer (I'm not sure if you're still making changes). |
|
@stevenengler yes please, you could. Don't hesitate to check the recent comment of @robgjansen on the #773 to be sure we all follow the same idea. |
stevenengler
left a comment
There was a problem hiding this comment.
Looks good, just added a few changes, and after those feel free to convert the other test cases.
|
@stevenengler everything looks good to you ? Can I spread this method on others tests ? |
Looks good to me, thanks for making the changes! And yep, adding this to the other tests sounds good. |
|
If you haven't started on the |
|
@stevenengler ok I will ignore them |
86f618e to
ab173d1
Compare
|
@sporksmith I let |
|
@stevenengler , could you give me a hand with the centos7 error ? |
|
@florian-vuillemot: it looks like the xml2yaml script isn't converting the shadow/src/test/file/file.test.shadow.config.xml Lines 1 to 6 in d7f0516 |
|
Well, I will pay more attention the next time I will check the conversion.. Thank you ! |
|
No problem, is this a bug in the script that we should fix? I took a quick look but I don't see an obvious reason why it would skip that attribute. |
Updating the script to preserve comments would be a nice feature, though manually recreating the comments would also be ok. |
|
@stevenengler after having tested the |
I just copy/past commentaries because it is quick, simple and I don't think we will have a huge amount of files with commentaries, so automation does not look mandatory. If I'm wrong, don't hesitate to open an issue and assign it to me. |
d10df79 to
43e94f0
Compare
stevenengler
left a comment
There was a problem hiding this comment.
Other than the indentation, looks good to me. I'll take another look for typos in a final review, but I didn't see any on this pass.
|
FYI, yesterday I merged another test in |
43e94f0 to
56e247e
Compare
|
I also just noticed that there are two other directories that need to be converted, |
|
Thanks @florian-vuillemot for the changes! It's great to be another step closer to full yaml support. I've checked the box at #773 (comment) since I'm not sure which accounts are allowed to edit comments by other accounts. |
|
Woo! Thanks for all the work to get this merged! 🥇 |
#773