samedi 21 janvier 2017

How to run multiple cucumber scenarios against different configurations with different expected results?

I have a standard set of scenarios (about 100 request messages) that need to run against a service.

I want to run this same set against a variety of configurations with possibly different expected outcomes.

Ideally I would be able to say...

Here's my scenarios and default configuration and default results.

Here are other configurations and different expected results. Best if I only need to specify results that differ from the default.

Can I do this in cucumber without having to repeat the requests for each configuration?

I know I won't get exactly what I want, but any way to approximate this?

Aucun commentaire:

Enregistrer un commentaire