Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: eykrehbein/strest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.1
Choose a base ref
...
head repository: eykrehbein/strest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Dec 11, 2018

  1. Copy the full SHA
    f2d9eea View commit details

Commits on Dec 13, 2018

  1. release 2.1.0

    * remove entrypoint from Dockerfile
    * check for version 2 in yml
    * resolve #113
    jgroom33 committed Dec 13, 2018
    Copy the full SHA
    43f6d77 View commit details
  2. Merge pull request #115 from eykrehbein/defect/113

    release 2.1.0
    jgroom33 authored Dec 13, 2018
    Copy the full SHA
    5081506 View commit details

Commits on Dec 14, 2018

  1. add tests

    fix jsonschema tests
    jgroom33 committed Dec 14, 2018
    Copy the full SHA
    dd32abf View commit details
  2. Merge pull request #116 from eykrehbein/defect/object_array

    handle arrays in <$ values[0] $>
    jgroom33 authored Dec 14, 2018
    Copy the full SHA
    1d1205e View commit details

Commits on Dec 17, 2018

  1. - log on nunjucks error

    - update README
    - allow windows line endings
    jgroom33 committed Dec 17, 2018
    Copy the full SHA
    5d30dc6 View commit details
  2. Merge pull request #117 from eykrehbein/defect/windows

    fix windows line endings
    jgroom33 authored Dec 17, 2018
    Copy the full SHA
    2693e82 View commit details
  3. Copy the full SHA
    fbfe9fd View commit details

Commits on Jan 1, 2019

  1. implement gitpod in readme

    jgroom33 committed Jan 1, 2019
    Copy the full SHA
    70146f6 View commit details

Commits on Jan 6, 2019

  1. typo

    eykrehbein authored Jan 6, 2019
    Copy the full SHA
    0974426 View commit details

Commits on Jan 11, 2019

  1. Allowing 0 and null in jsonpath expectations.

    Ivan Antolic-Soban committed Jan 11, 2019
    Copy the full SHA
    5b80cac View commit details
  2. Merge pull request #120 from ivansoban/master

    Allowing 0 and null in jsonpath expectations.
    jgroom33 authored Jan 11, 2019
    Copy the full SHA
    f9a6088 View commit details
  3. release 2.2.2

    jgroom33 committed Jan 11, 2019
    Copy the full SHA
    56b6ef7 View commit details
  4. update license

    jgroom33 committed Jan 11, 2019
    Copy the full SHA
    85b99dc View commit details

Commits on Jan 19, 2019

  1. added support for filname as paramter

    Shahar Shelly committed Jan 19, 2019
    Copy the full SHA
    23bf277 View commit details
  2. added test files

    Shahar Shelly committed Jan 19, 2019
    Copy the full SHA
    8f95e17 View commit details
  3. Merge pull request #121 from eykrehbein/feature/doc

    update license
    jgroom33 authored Jan 19, 2019
    Copy the full SHA
    1685ed5 View commit details

Commits on Jan 22, 2019

  1. Merge pull request #124 from shrikster/feature/95/add-suuport-for-fil…

    …ename-as-paramter
    
    Issue 95 -add support for filename as parameter
    jgroom33 authored Jan 22, 2019
    Copy the full SHA
    d8678c0 View commit details

Commits on Jan 24, 2019

  1. release 2.3.0

    jgroom33 committed Jan 24, 2019
    Copy the full SHA
    d6b95a8 View commit details
  2. release 2.3.1

    jgroom33 committed Jan 24, 2019
    Copy the full SHA
    064861c View commit details
  3. allow any mimeType

    resolve #129
    resolve #126
    resolve #128
    jgroom33 committed Jan 24, 2019
    Copy the full SHA
    d81280d View commit details
  4. Merge pull request #131 from eykrehbein/features

    features and fixes
    jgroom33 authored Jan 24, 2019
    Copy the full SHA
    0af282f View commit details
  5. Update feature_request.md

    jgroom33 authored Jan 24, 2019
    Copy the full SHA
    a93de33 View commit details

Commits on Feb 19, 2019

  1. fix nunjucks autoescape

    jgroom33 committed Feb 19, 2019
    Copy the full SHA
    613b4b7 View commit details

Commits on Mar 22, 2019

  1. Copy the full SHA
    a630e7f View commit details
  2. Copy the full SHA
    1cfb84d View commit details
  3. updated ora version

    shrikster committed Mar 22, 2019
    Copy the full SHA
    18a9168 View commit details
  4. fixed ora version

    shrikster committed Mar 22, 2019
    Copy the full SHA
    cec3afa View commit details
  5. Copy the full SHA
    e6caeb9 View commit details
  6. Merge pull request #139 from shrikster/master

    Added support for Using Moment.js in the nunjuck templates
    jgroom33 authored Mar 22, 2019
    Copy the full SHA
    46a2904 View commit details

Commits on Mar 30, 2019

  1. Copy the full SHA
    9c6e910 View commit details
  2. added support for form data

    shrikster committed Mar 30, 2019
    Copy the full SHA
    57d5473 View commit details

Commits on Apr 2, 2019

  1. Merge pull request #140 from shrikster/master

    Added backward support for params in post data
    jgroom33 authored Apr 2, 2019
    Copy the full SHA
    cda14b5 View commit details

Commits on Apr 6, 2019

  1. Copy the full SHA
    ed9e768 View commit details
  2. updated the readme

    shrikster committed Apr 6, 2019
    Copy the full SHA
    bc95e1a View commit details

Commits on Jun 4, 2019

  1. Merge pull request #141 from shrikster/feature/form-data

    Added support for sending form data
    jgroom33 authored Jun 4, 2019
    Copy the full SHA
    112c00e View commit details

Commits on Jul 6, 2019

  1. Copy the full SHA
    4f04395 View commit details
  2. Merge pull request #143 from volvofixthis/master

    Fixed data for multipart/form-data
    eykrehbein authored Jul 6, 2019
    Copy the full SHA
    862639d View commit details

Commits on Jan 20, 2020

  1. add support to read request data from json file

    fix bug in moment tests (update to 2020)
    dungahk committed Jan 20, 2020
    Copy the full SHA
    405da92 View commit details

Commits on Mar 13, 2020

  1. changes from code review

    dungahk committed Mar 13, 2020
    Copy the full SHA
    072d843 View commit details

Commits on Mar 14, 2020

  1. Merge pull request #146 from dungahk/read-from-json

    add support to read request data from json file
    eykrehbein authored Mar 14, 2020
    Copy the full SHA
    33731cd View commit details
  2. update version

    eykrehbein committed Mar 14, 2020
    Copy the full SHA
    75409ed View commit details
Showing with 826 additions and 174 deletions.
  1. +25 −1 .github/ISSUE_TEMPLATE/feature_request.md
  2. +2 −1 .gitignore
  3. +4 −0 CONTRIBUTING.md
  4. +1 −1 Dockerfile
  5. +1 −5 LICENSE
  6. +186 −33 README.md
  7. +9 −8 SCHEMA.md
  8. +11 −6 package.json
  9. +3 −3 src/commands.ts
  10. +11 −5 src/configSchema.ts
  11. +107 −28 src/test.ts
  12. +3 −1 src/yaml-parse.ts
  13. +72 −8 tests/failure/failureJsonschema.strest.yaml
  14. +13 −0 tests/failure/failureMaxRetries2.strest.yml
  15. +3 −6 tests/failure/failureNunjucks.strest.yaml
  16. +11 −0 tests/failure/failureNunjucks2.strest.yaml
  17. +1 −1 tests/failure/failureSchema.strest.yaml
  18. +1 −1 tests/failure/failureValidateCode.strest.yaml
  19. +1 −1 tests/failure/failureValidateCodeRegex.strest.yml
  20. +1 −1 tests/failure/failureValidateExpect.strest.yaml
  21. +1 −1 tests/failure/failureValidateJsonpath.strest.yml
  22. +1 −1 tests/failure/failureValidateObject.strest.yml
  23. +1 −1 tests/failure/failureValidateType.strest.yaml
  24. +13 −0 tests/failure/failureVersion.strest.yml
  25. BIN tests/strest.png
  26. +1 −1 tests/success/Methods/Env/environ.strest.yml
  27. +2 −2 tests/success/Methods/Fake/name.strest.yml
  28. +10 −0 tests/success/Methods/Filename/postman-echo.com.strest.yml
  29. +10 −0 tests/success/Methods/Filename/postman-echo.strest.yml
  30. +4 −4 tests/success/Methods/JsonPath/JsonPath.strest.yml
  31. +1 −1 tests/success/Value/array.strest.yml
  32. +20 −0 tests/success/Value/moment.strest.yml
  33. +20 −0 tests/success/Value/nunjucks.strest.yml
  34. +2 −2 tests/success/Value/value.strest.yml
  35. +1 −1 tests/success/auth/basic.strest.yml
  36. +1 −1 tests/success/chaining/login.strest.yml
  37. +1 −1 tests/success/chaining/var/one.strest.yml
  38. +1 −1 tests/success/chaining/var/two.strest.yml
  39. +1 −1 tests/success/chaining/verify_login_chained.strest.yml
  40. +27 −0 tests/success/formdata/file.strest.yml
  41. +19 −0 tests/success/formdata/simple.strest.yml
  42. +1 −1 tests/success/headers/0-requestHeaders.strest.yml
  43. +1 −1 tests/success/headers/1-responseHeaders.strest.yml
  44. +1 −1 tests/success/if/if.strest.yml
  45. +3 −0 tests/success/jsonfile/data.json
  46. +8 −0 tests/success/jsonfile/jsonfile.strest.yml
  47. +1 −1 tests/success/log/postman.strest.yml
  48. +1 −1 tests/success/one.strest.yaml
  49. +8 −0 tests/success/other/repeat3.strest.yml
  50. +7 −0 tests/success/other/windows_line_endings.strest.yml
  51. +19 −0 tests/success/params/post.strest.yml
  52. +1 −1 tests/success/postman-echo-demo/0-request_methods/0-get.strest.yml
  53. +1 −1 tests/success/postman-echo-demo/0-request_methods/1-post.strest.yml
  54. +1 −1 tests/success/postman-echo-demo/0-request_methods/2-put.strest.yml
  55. +1 −1 tests/success/postman-echo-demo/0-request_methods/3-patch.strest.yml
  56. +1 −1 tests/success/postman-echo-demo/0-request_methods/4-delete.strest.yml
  57. +1 −1 tests/success/postman-echo-demo/1-headers/0-requestHeaders.strest.yml
  58. +1 −1 tests/success/postman-echo-demo/1-headers/1-responseHeaders.strest.yml
  59. +1 −1 tests/success/postman-echo-demo/2-authentication/0-basicAuth.strest.yml
  60. +1 −1 tests/success/postman-echo-demo/3-status_code/0-responseStatusCode.strest.yml
  61. +2 −2 tests/success/postman.strest.yml
  62. +1 −2 tests/success/two.strest.yaml
  63. +1 −1 tests/success/validate/code.strest.yml
  64. +1 −1 tests/success/validate/code404.strest.yaml
  65. +1 −1 tests/success/validate/codeRegex.strest.yml
  66. +1 −1 tests/success/validate/headers.strest.yml
  67. +1 −1 tests/success/validate/json.strest.yml
  68. +10 −1 tests/success/validate/jsonpath.strest.yml
  69. +63 −13 tests/success/validate/jsonschema.strest.yaml
  70. +12 −0 tests/success/validate/mimeType.strest.yml
  71. +3 −3 tests/success/validate/object.strest.yml
  72. +27 −0 tests/success/validate/object_array.strest.yml
  73. +21 −0 tests/success/validate/queryparam_and.strest.yml
  74. +1 −1 tests/success/validate/raw.strest.yml
  75. +1 −1 tests/success/validate/rawPost.strest.yml
  76. +1 −1 tests/success/validate/type.strest.yml
  77. +14 −0 tests/success/validate/zero.strest.yml
  78. +2 −2 tests/success/variables.strest.yml
  79. +1 −1 tests/success_validate_retries/maxRetries.strest.yml
26 changes: 25 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -5,11 +5,35 @@ about: Suggest an idea for this project
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
A clear and concise description of what the problem is. Ex.

It would be nice to not have to specify foobar.com twice:

```yml
version: 2
requests:
foobar.com:
request:
url: https://foobar.com/get
method: GET
```
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
Example:
Allow request name to be used as a parameter as below:
```yml
version: 2
requests:
foobar.com:
request:
url: https://<$ RequestName() $>/get
method: GET
```
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -2,4 +2,5 @@ dist/
node_modules/
yarn.lock
validTypes.md
package-lock.json
package-lock.json
strest_history.json
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -18,6 +18,10 @@ node dist/main.js tests/success/bulk.yml -b
# Manual chained executions
node dist/main.js tests/success/chaining/login.strest.yml -s
node dist/main.js tests/success/chaining/verify_login_chained.strest.yml -l -s
node dist/main.js tests/success/chaining/login.strest.yml -s tests/strest_history.json
node dist/main.js tests/success/chaining/verify_login_chained.strest.yml -l tests/strest_history.json -s tests/strest_history.json
node dist/main.js tests/success/chaining/login.strest.yml -s /tmp/strest_history.json
node dist/main.js tests/success/chaining/verify_login_chained.strest.yml -l /tmp/strest_history.json -s /tmp/strest_history.json
```

## Publishing - Information for Collaborators
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -11,4 +11,4 @@ COPY --from=builder /app /app
WORKDIR /app
RUN npm link

ENTRYPOINT ["strest"]
CMD ["strest", "tests/success/"]
6 changes: 1 addition & 5 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
MIT License

For Strest software

Copyright (c) 2018-present, Eyk Rehbein.
Copyright (c) 2018 Eyk Rehbein

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Loading