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

None of the tests work out of the box #3

Open
UlrichEckhardt opened this issue Mar 19, 2024 · 1 comment
Open

None of the tests work out of the box #3

UlrichEckhardt opened this issue Mar 19, 2024 · 1 comment

Comments

@UlrichEckhardt
Copy link

Heya!

If you just follow the documentation:

# Clone this repo 
git clone https://github.com/usebruno/github-rest-api-collection.git

# open the folder in bruno
# enjoy !!

you won't be able to use this. The problem is, that the test files contain a reference to a baseUrl variable which isn't set. You first have to select an environment ("Github" in this case) in the top right of the Bruno GUI. If you're using the CLI, I haven't found an according flag yet, so it seems we're out of luck there.

Uli

@fgrande
Copy link

fgrande commented May 29, 2024

Hi @UlrichEckhardt,

if You run this on Bruno App, you're right, You have to first select the Environment.

If You want to run via CLI, you need to specify the environment You want to use with the --env param. So you can try running this:

bru run --env Github

it should works

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

No branches or pull requests

2 participants