Skip to content
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

Possible enhancement: Top document in yaml file contains 'defaults' for whole file #803

Open
michaelboulton opened this issue Jul 30, 2022 · 0 comments

Comments

@michaelboulton
Copy link
Member

eg

# test_thing.tavern.yaml
---
# the top document in a tavern file

includes:
- my-include.yaml

variables:
  a: b
  c: d

stages:
  - id: typetoken-anything-match
    name: match top level

paho-mqtt: 
  connect:
    host: localhost
    port: 9001
    timeout: 3
  client:
    transport: websockets
    client_id: tavern-tester

# etc.
---
test_name: my test

# everything from the top document is deep_dict_merge d into this document
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant