inetrg / inet-nm

INET Node Manager
MIT License
1 stars 1 forks source link

Add cli based example and test #4

Closed MrKevinWeiss closed 1 year ago

MrKevinWeiss commented 1 year ago

I finally did it... Here is a test that can be run (and add to coverage) that executes the CLI and can generate md formatted output that can be used for examples.

The idea is to actually go through the steps of the example in an automated way and use that for showing the output. It is a bit repetitive but I think easy enough to read thanks to the descriptions.

Some assumptions are made about the naming scheme of the modules which is largely due to hooking the the coverage reports.

MrKevinWeiss commented 1 year ago

ping @leandrolanzieri and/or @Teufelchen1

MrKevinWeiss commented 1 year ago

Thank you for the review, I have added the changes as well as a design decisions section explaining the cli naming conventions.