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 karate.setupOnce() as an option for @setup #2210

Closed
ptrthomas opened this issue Dec 7, 2022 · 2 comments
Closed

introduce karate.setupOnce() as an option for @setup #2210

ptrthomas opened this issue Dec 7, 2022 · 2 comments
Assignees

Comments

@ptrthomas
Copy link
Member

After discussing this question: https://stackoverflow.com/q/74700044/143475 realized that this will be a common ask, and the extra method is IMO a reasonably elegant solution without having to invent more tags etc

cc @Lovelemon88 and #2207

So we add a method called karate.setupOnce() it will behave exactly like karate.setup() but use the callonce cache to operate.

will try and get this into the next minor version (1.3.1 and 1.4.1)

@ptrthomas ptrthomas added this to the 1.4.0 milestone Dec 7, 2022
@ptrthomas ptrthomas self-assigned this Dec 7, 2022
@ptrthomas
Copy link
Member Author

tagging previous issues and discussions for reference: #2169 and #1905

@ptrthomas
Copy link
Member Author

1.3.1 released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant