We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 perl tests in samples/client/petstore/perl fail for a trivial reason, e.g.
samples/client/petstore/perl
$ prove -l t/AdditionalPropertiesClassTest.t t/AdditionalPropertiesClassTest.t .. 1/2 # Looks like you planned 2 tests but ran 1. t/AdditionalPropertiesClassTest.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/2 subtests Test Summary Report ------------------- t/AdditionalPropertiesClassTest.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 1. Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.13 cusr 0.01 csys = 0.15 CPU) Result: FAIL
I can reproduce it with the current HEAD 140d941.
No generation steps need to be taken, only the repo needs to be cloned.
cd samples/client/petstore/perl && prove -l
n/a
I'd be happy to take care for this issue and submit a small template fix to make the tests pass.
The text was updated successfully, but these errors were encountered:
[OpenAPITools#14921] Make perl tests pass
3fe8901
Steps to reproduce: * update modules/openapi-generator/src/main/resources/perl/api_test.mustache and modules/openapi-generator/src/main/resources/perl/object_test.mustache properly * regenerate code generator * remove test files * update test files ## doesn't finish with openjdk-19 without -D... mvn clean package -DskipTests -Dmaven.javadoc.skip=true rm samples/client/petstore/perl/t/*Test.t ./bin/generate-samples.sh ./bin/configs/perl* Now the tests pass.
test(perl): Update test plan to use done_testing
f4195a9
close OpenAPITools#14921
5b6b082
No branches or pull requests
Bug Report Checklist
Description
The perl tests in
samples/client/petstore/perl
fail for a trivial reason, e.g.openapi-generator version
I can reproduce it with the current HEAD 140d941.
OpenAPI declaration file content or url
Generation Details
No generation steps need to be taken, only the repo needs to be cloned.
Steps to reproduce
Related issues/PRs
n/a
Suggest a fix
I'd be happy to take care for this issue and submit a small template fix to make the tests pass.
The text was updated successfully, but these errors were encountered: