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

Feature/collection run config and cli execution #2999

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

berlingoqc
Copy link

@berlingoqc berlingoqc commented Sep 2, 2024

Description

Start to upgrade the collection run functionality with a bru file to define a run context.

The current feature is barebone.

You cannot add specific variables.
You cannot specify which file to run.
You cannot save those run config

The PR is still in draft just to give an idea here what i want to include in the runConfg file for a specific scenario.

  • What request should be made in what order
  • What variables should be added/overwritten
  • What environment is to be used.

The file format is still in the works , i made it simple using json to start.

meta {
    name: integration_test_1
    seq: 1
}

vars {
    AGENT_ID: momcorp // variabe to add in the runs
}

requests [
     AGENT
     AGENT_2
     AGENT/Create Agent.bru
]

For now I plan to only add the bru file format for runConfig and support them via the cli

bru run runs/scenario_1.bru

.. run all requests specify..

The next step would be to add a UI to do the same. At the same time would be nice to add the cli report function to the UI app to download a report from one of the run.

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Resolves #2971

@berlingoqc berlingoqc changed the title Feature/collection run config Feature/collection run config and cli execution Sep 2, 2024
@berlingoqc berlingoqc mentioned this pull request Sep 5, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collection run upgrade - support for custom integration test
2 participants