Skip to content

Testing e2e #401

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

Closed
jvalkeal opened this issue May 7, 2022 · 1 comment
Closed

Testing e2e #401

jvalkeal opened this issue May 7, 2022 · 1 comment
Milestone

Comments

@jvalkeal
Copy link
Contributor

jvalkeal commented May 7, 2022

Experiment creating tooling to run shell app as a black box to do e2e testing where we should only care about what is typed into a shell and what shell is showing.

Realistically this is impossible to do in plain java, afaik, so should try to see how far we get using node and integrating with node-pty and xterm-headless. Many online shell tools use these libs to hook into an actual shell which can then run commands. We only need to be able to pass keystrokes and read what term things is shown in a "screen".

jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue May 7, 2022
- Add node code for e2e tests. This is a first take to try running
  these tests via actions.
- Relates to spring-projects#401
jvalkeal added a commit that referenced this issue May 7, 2022
- Add node code for e2e tests. This is a first take to try running
  these tests via actions.
- Relates to #401
jvalkeal added a commit that referenced this issue May 8, 2022
jvalkeal added a commit that referenced this issue May 8, 2022
jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue May 8, 2022
- Fix native configs for win in sample app.
- Integrate spring-native with samples app.
- Tweak e2e workflow to upload artifacts and some other generic changes.
- Relates spring-projects#401
jvalkeal added a commit that referenced this issue May 8, 2022
- Fix native configs for win in sample app.
- Integrate spring-native with samples app.
- Tweak e2e workflow to upload artifacts and some other generic changes.
- Relates #401
jvalkeal added a commit that referenced this issue May 8, 2022
jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue May 10, 2022
- Tweak things on win for settings combinations which might
  work with all trouble you're getting from win versions and
  node-pty, etc.
- Relates spring-projects#401
jvalkeal added a commit that referenced this issue May 10, 2022
- Tweak things on win for settings combinations which might
  work with all trouble you're getting from win versions and
  node-pty, etc.
- Relates #401
jvalkeal added a commit that referenced this issue May 15, 2022
- Add new e2e group to samples which can be used
  with particular tests.
- Relates #401
@jvalkeal jvalkeal added this to the 2.1.0-RC1 milestone May 30, 2022
@jvalkeal
Copy link
Contributor Author

Initial work done.

@jvalkeal jvalkeal modified the milestones: 2.1.0-RC1, 2.1.0-M5 May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant