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
458 stars 77 forks source link

Wrong naming for generated jest files #951

Closed henning410 closed 2 months ago

henning410 commented 3 months ago

According to jest, test files are searched based on the naming: testMatch: **/__tests__/**/*.[jt]s?(x), **/?(*.)+(spec|test).[tj]s?(x) - 0 matches

If I got it correctly, the files currently are generated using the schema EvoMaster_XX_Test.js. So the generated files needs to be renamed manually to get them executed using jest. Maybe the automated naming can be changed to EvoMaster_XX.test.js. Or store the files automatically in folder __tests__. But as user I would expect naming as EvoMaster_XX.test.js

Other important info:

arcuri82 commented 3 months ago

hi, see new CLI Parameters section in the updated documentation. In your case, --outputFileSuffix .test should do.