WebFuzzing / EvoMaster

The first open-source AI-driven tool for automatically generating system-level test cases (also known as fuzzing) for web/enterprise applications. Currently targeting whitebox and blackbox testing of Web APIs, like REST, GraphQL and RPC (e.g., gRPC and Thrift).
GNU Lesser General Public License v3.0
454 stars 77 forks source link

Adding Python as output option, creates empty python file #991

Closed Pgarrett closed 1 month ago

Pgarrett commented 1 month ago

What

Adding Python as an output format option only allowed for black-box testing. Currently, selecting this output creates a python file with no tests, but only the block comment for describing the test file.

Pgarrett commented 1 month ago

@arcuri82 just as an FYI, since I changed the Lines constructor to take OutputFormat, I changed the methods that took format as an input parameter and removed it. If you feel that makes for much more files than expected in the PR, I can revert it and send them in a separate commit, it's the second commit of this PR.