eykrehbein / strest

⚡️ CI-ready tests for REST APIs configured in YAML
MIT License
1.74k stars 59 forks source link

UI #92

Closed jgroom33 closed 5 years ago

jgroom33 commented 6 years ago

Create a UI

strest-ui /tests loads all requests into visualization (use similar layout to insomnia UI) Allow stepping through requests and displaying results Requests can be modified and saved back to disk Values of variables are displayed along side the 'code': i.e. Env(FOO)bar

eykrehbein commented 6 years ago

Also had this idea... I'm currently working on version 2.0.0 which will split strest into two separate parts:

When 2.0 is out, it will be a lot easier to create a UI App, because the App will just call functions from the strest-api like the cli does.

jgroom33 commented 6 years ago

Another implementation option is to write a plug-in for vscode. This might be better aligned with the focus on committing the tests to version control. What do you think of that option?

jgroom33 commented 6 years ago

https://github.com/Huachao/vscode-restclient/blob/master/README.md

eykrehbein commented 6 years ago

Also a nice approach

jgroom33 commented 6 years ago

I think standardizing the request format is useful.

http://www.softwareishard.com/blog/har-12-spec/#request

This way it would be easy to fork and update the vscode project. Then the vscode project could use the API you're developing.

jgroom33 commented 6 years ago

this is compatible with 2.0:

https://github.com/jgroom33/vscode-strest-client

It has syntax highlighting and individual execution of calls. Each response is appended to the history.json file

jgroom33 commented 6 years ago

added a video to show the flow: https://github.com/jgroom33/vscode-strest-client

eykrehbein commented 6 years ago

awesome!