-
Notifications
You must be signed in to change notification settings - Fork 397
Provide a testing framework #489
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
Comments
There are two sides to testing cli apps, one being within jvm with boot style tests, second being black box testing with generated artefact. As most of you have noticed that if taking a simple project from From existing Secondly it is totally different testing server app vs. cli app as there is always interaction from an user one way or the other. It gets even more problematic when cli app is interactive itself by expecting some user interaction, thus getting back to interactive runner concepts. For this it would be beneficial to have black boxing test framework which doesn't operate on a jvm. For black box tests there is existing e2e framework in While java devs don't like to see any JS code, it has its own benefits as it's more close to OS and node is very good on that. Terminals on a different OS's behave differently and you need tty environment from a user. These 2 node modeles just mentioned are the ones what you see these days with "online" shell's providing features running "stuff" on a shell. |
Just some updates to this issue as I've been playing with various ideas in my branches, named Essentially following boot model of adding dedicated slice test support for a particular feature I have something working as:
This experiment is based of using a subset of
|
Testing a shell applications has traditionally been a difficult task to do if something has to happen beyond plain unit test of a method targets. This issue is about tracking this work.
The text was updated successfully, but these errors were encountered: