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

Introduce parameters and placeholders #15

Merged
merged 6 commits into from
Oct 17, 2024
Merged

Introduce parameters and placeholders #15

merged 6 commits into from
Oct 17, 2024

Conversation

abdala
Copy link
Member

@abdala abdala commented Oct 17, 2024

Single parameters:

{
  parameters: {
    a: 'b',
    b: '${a}',
    c: {
      d: 'e'
    }
  },
  name: 'Test 1',
  act: {
    import: 'syncFunction',
    from: 'functions.js',
    arguments: [
      {a: '${a}', d: '${c.d}'},
    ],
  },
  assert: {
    a: '${b}',
  },
}

Or multiple paramters:

{
  name: 'Test 2',
  parameters: [
    {a: 'b', b: '${a}'},
    {a: 'c', b: '${a}'},
  ],
  act: {
    import: 'syncFunction',
    from: 'functions.js',
    arguments: [{a: '${a}'}],
  },
  assert: {
    a: '${b}',
  },
}

@abdala abdala changed the title Introduce parameter and placeholder Introduce parameters and placeholders Oct 17, 2024
@abdala abdala merged commit 9d84e89 into main Oct 17, 2024
2 checks passed
@abdala abdala deleted the data-provider branch October 17, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants