eykrehbein / strest

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

Develop #103

Closed jgroom33 closed 5 years ago

jgroom33 commented 5 years ago

This is ready for review. It implements HAR as the schema.

Resolve #94 Resolve #97 Resolve #22

jgroom33 commented 5 years ago

@shrikster could you help review this? I think it's ready for release, but would like you opinion.

eykrehbein commented 5 years ago

Reviewing tomorrow 👍 @jgroom33

jgroom33 commented 5 years ago

The raw object allows the file to be parsed by nunjucks as each new response object is saved. Roughly:

  1. Process raw with nunjucks
  2. Parse yaml
  3. Execute request and store response
  4. Repeat

This isn't really the way nunjucks was designed to be used, but it seems to work out.

jgroom33 commented 5 years ago

@eykrehbein any other topics to discuss?