znsio / specmatic

Turn your contracts into executable specifications. Contract Driven Development - Collaboratively Design & Independently Deploy MicroServices & MicroFrontends.
https://specmatic.io
MIT License
281 stars 52 forks source link

Add descriptionFromPlugin in negative scenarios #1253

Closed yogeshnikam671 closed 2 months ago

yogeshnikam671 commented 3 months ago

What: While generating negative scenarios, Specmatic was ignoring any existing descriptionFromPlugin within a scenario. Thus, the test names were not having the descriptionFromPlugin text. This fix makes sure that descriptionFromPlugin is not ignored while generating negative scenarios.

Why: To not lose the descriptionFromPlugin information in negative scenarios.

How: By not ignoring descriptionFromPlugin while generating negative scenarios.

Checklist: