-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
the @setup
hook may not be compatible with dry-run
#2384
Comments
Hi, |
@adiChoudhary sure, you can provide a summary of how you want to solve this and then submit a PR |
Ok mate, will provide the relevant details after going through the overall project within 2-4 days of time. |
@ptrthomas can you assign this one to me, please ? AnalysisCurrent code path does not execute setup steps in dry run mode. Approach:
|
@codehackerr sure go ahead |
much appreciated @codehackerr - tagging @rc2201 as I think he reported this on stack-overflow |
karate 1.5.0.RC3 including this fix is now available |
I tested the changes and it returns the count now where @setup is being used. However full suite is being marked as failed. Here are the screenshots showing everything marked as failed and confirming the release. Error for all the scenario- StackTrace- |
@rc2201 Thanks for testing this and finding the above issue! I believe this is happening because of steps that are not under a scenario, like background. Will submit another PR. |
@rc2201 I was able to reproduce the issue with a background step and that is fixed now. Could you please verify, if the above PR fixes the issue? @ptrthomas FYI |
1.5.0 released |
as reported here: https://stackoverflow.com/q/76965130/143475
The text was updated successfully, but these errors were encountered: