Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Add tests #6

Open
onedr0p opened this issue Dec 18, 2023 · 1 comment
Open

Add tests #6

onedr0p opened this issue Dec 18, 2023 · 1 comment

Comments

@onedr0p
Copy link

onedr0p commented Dec 18, 2023

Not sure the best way to handle this but it maybe we could get contributions from the community and build a catalog of set commands to vyaml config file(s) and make sure they pass? Trying to cover all options in Vyos might not be easily achievable but if we cover enough uses cases it will give some confidence updates won't break.

@p3lim
Copy link
Owner

p3lim commented Dec 18, 2023

Functional testing could be something as simple as having a yaml file that covers a large section of the available options in yaml form, and a pre-tested commands file, then run the cli and see if it matches.

Unit testing is probably out of the question.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants