There are dependencies from the library (package pkg) to the cli (cmds).
This is because of
using command executions in plugin tests
using some parsing provided by cli in some app support
using cli based test environment in lib tests
The cli based test environment can be replaced by the lib test environment, it was just
accidently used.
The parsing support has been moved to a cli support package in the lib.
The plugin tests based on command executions have been moved to a plugin test package in the
top-level cli package. Additionally, the lib now tests the pure lib version of the plugin usage
without command executions.
What type of PR is this? (check all applicable)
[ ] 🍕 Feature
[x] 🎇 Restructuring
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[x] ✅ Test
[x] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert
Related Tickets & Documents
Related Issue # (issue)
Closes # (issue)
Fixes # (issue)
Remove if not applicable
Screenshots
Added tests?
[ ] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help
[ ] Separate ticket for tests # (issue/pr)
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Added to documentation?
[ ] 📜 README.md
[ ] 🙅 no documentation needed
Checklist:
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Description
There are dependencies from the library (package pkg) to the cli (cmds). This is because of
The cli based test environment can be replaced by the lib test environment, it was just accidently used.
The parsing support has been moved to a cli support package in the lib.
The plugin tests based on command executions have been moved to a plugin test package in the top-level cli package. Additionally, the lib now tests the pure lib version of the plugin usage without command executions.
What type of PR is this? (check all applicable)
Related Tickets & Documents
Screenshots
Added tests?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Added to documentation?
Checklist: