bruno icon indicating copy to clipboard operation
bruno copied to clipboard

CLI Test Runner ignores auth:"inherit" in requests

Open gajanak opened this issue 10 months ago • 0 comments

I have checked the following:

  • [X] I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add

If I run "bru run collection.bru" - it fails because its not a request.

If I run "bru run request.bru" - and the request use auth:"inherit" - the Collection Auth Settings are not read. And there is no error - that inherit is not supported on cli.

Perhaps the cli runner should search for the collection or a command line parameter to specify the collection directory or file or cli runner should abort "Auth inherit is not supported..:"

Mockups or Images of the feature

@usebruno/cli

bru run request.bru --env local

Error: Auth inherit is not supported. ?

Better:

Read Auth Settings from collection.bru

gajanak avatar Apr 30 '24 07:04 gajanak