Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

auto-negative tests #149

Open
maxlinc opened this issue Nov 4, 2014 · 0 comments
Open

auto-negative tests #149

maxlinc opened this issue Nov 4, 2014 · 0 comments
Labels

Comments

@maxlinc
Copy link
Collaborator

maxlinc commented Nov 4, 2014

Tempest (the OpenStack integration test suite) has the ability to take a schema and automatically generate a negative test scenario - by altering a field to be invalid and making sure an error happens.

It'd be nice to at least use this approach in Pacto's own unit or integration testing, if not as an actual feature.

See:
http://docs.openstack.org/developer/tempest/HACKING.html#negative-tests
https://github.com/openstack/tempest/blob/master/tempest/common/generator/negative_generator.py
https://github.com/openstack/tempest/blob/master/tempest/api/compute/images/test_images_negative.py

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant