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

feat: Add flow option for "natural" flow in scripts #2704

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

Its-treason
Copy link
Member

@Its-treason Its-treason commented Jul 25, 2024

  • Adds a new key in the bruno.json under scripts.flow
  • When concatenating post and tests scripts, the flow will now be used to determine the correct script order

Preview

2024-07-26.01-16-55.mp4

@sanjai0py This is a big issue for some people (See linked issues) can we merge this soon?

Fixes: #2648 #2597 #2639

- Adds a new key in the `bruno.json` under `scripts.flow`
- When concating post and tests scripts the flow will now be used
  to determine to correct order

Fixes: usebruno#2648 usebruno#2680 usebruno#2597 usebruno#2639
@sanjai0py
Copy link
Member

Hey @Its-treason, please give us some time to test this, and I'll get back to you soon!

@helloanoop
Copy link
Contributor

Thanks for the PR @Its-treason !

@lohxt1 Can you review the PR?

@lohxt1 lohxt1 merged commit 2e2c60d into usebruno:main Jul 26, 2024
2 of 3 checks passed
@sanjai0py
Copy link
Member

Thank you, @Its-treason, for taking the time to implement this feature! The next outgoing release will contain this feature.

Its-treason added a commit to Its-treason/bruno that referenced this pull request Jul 28, 2024
This is a follow up for the upstream change made in:
usebruno#2704
jwetzell pushed a commit to jwetzell/bruno that referenced this pull request Aug 2, 2024
- Adds a new key in the `bruno.json` under `scripts.flow`
- When concating post and tests scripts the flow will now be used
  to determine to correct order

Fixes: usebruno#2648 usebruno#2680 usebruno#2597 usebruno#2639
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants