[GH-ISSUE #5] Readable #2

Closed
opened 2026-03-16 12:40:31 +03:00 by kerem · 5 comments
Owner

Originally created by @jgroom33 on GitHub (Aug 22, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5

A test flow should be readable in a repository. It should not require a UI to run the tests. It should be succinct and compact.

Reference ansible uri and strest for examples.

Handling loops, if conditions, and wait should also be possible without requiring the tester to write JavaScript.

Originally created by @jgroom33 on GitHub (Aug 22, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5 A test flow should be readable in a repository. It should not require a UI to run the tests. It should be succinct and compact. Reference [ansible uri](https://docs.ansible.com/ansible/latest/modules/uri_module.html) and [strest](https://github.com/eykrehbein/strest) for examples. Handling loops, if conditions, and wait should also be possible without requiring the tester to write JavaScript.
kerem 2026-03-16 12:40:31 +03:00
Author
Owner

@liyasthomas commented on GitHub (Aug 22, 2019):

I didn't get what you meant. Please elaborate what you tried to convey. I would like to hear what you've to share.

<!-- gh-comment-id:524014436 --> @liyasthomas commented on GitHub (Aug 22, 2019): I didn't get what you meant. Please elaborate what you tried to convey. I would like to hear what you've to share.
Author
Owner

@jgroom33 commented on GitHub (Aug 22, 2019):

one of the challenges with Postman is that it requires a UI to run and update tests. The json output of a postman collection is unreadable because it is too complex. because of this complexity, when these json collections are committed to a git repository they are essentially binaries that require a UI.

A better solution is to use YAML that implements a DSL for executions. This eliminates the need for writing javascipt in pre-request scripts and tests

Ansible URI and stREST are examples of a yaml syntax with a DSL for executions.

<!-- gh-comment-id:524085801 --> @jgroom33 commented on GitHub (Aug 22, 2019): one of the challenges with Postman is that it requires a UI to run and update tests. The json output of a postman collection is unreadable because it is too complex. because of this complexity, when these json collections are committed to a git repository they are essentially binaries that require a UI. A better solution is to use YAML that implements a DSL for executions. This eliminates the need for writing javascipt in `pre-request scripts` and `tests` Ansible URI and stREST are examples of a yaml syntax with a DSL for executions.
Author
Owner

@liyasthomas commented on GitHub (Aug 23, 2019):

Thanks for you quick clarification. I'll look into it.

<!-- gh-comment-id:524133531 --> @liyasthomas commented on GitHub (Aug 23, 2019): Thanks for you quick clarification. I'll look into it.
Author
Owner

@liyasthomas commented on GitHub (Oct 24, 2019):

#209 fixes this, hence closing.

<!-- gh-comment-id:545933249 --> @liyasthomas commented on GitHub (Oct 24, 2019): #209 fixes this, hence closing.
Author
Owner

@jgroom33 commented on GitHub (Nov 8, 2019):

This project has implemented all the things I was suggesting:
Yaml, cache, var storage, test assertion
https://testmace.com/

<!-- gh-comment-id:552030961 --> @jgroom33 commented on GitHub (Nov 8, 2019): This project has implemented all the things I was suggesting: Yaml, cache, var storage, test assertion https://testmace.com/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2
No description provided.