Hacking checking for ensuring negative test attribute applied
Bug #1781044 reported by
Felipe Monteiro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Felipe Monteiro |
Bug Description
Add a hacking check for ensuring that all classes that contain substring
"Negative" have the negative attribute decorator applied above each test.
Background discussion: https:/
Changed in tempest: | |
assignee: | nobody → Felipe Monteiro (fm577c) |
Changed in tempest: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/583451 /git.openstack. org/cgit/ openstack/ tempest/ commit/ ?id=4d011af928e ac40ebe8fafafa6 bb77a0874b66d6
Committed: https:/
Submitter: Zuul
Branch: master
commit 4d011af928eac40 ebe8fafafa6bb77 a0874b66d6
Author: Felipe Monteiro <email address hidden>
Date: Wed Jul 18 00:11:48 2018 -0400
Hacking checks for negative test cases
This patchset adds 2 hacking checks for making sure negative
tests have correct conventions applied.
* T117: Check that each negative test has the `@decorators. attr(type= ['negative' ])`` applied
`
This patch set adds both hacking checks, adds unit tests
and updates HACKING.rst documentation with both new checks.
Closes-Bug: 1781044 90861150c84fa0a 0c1054ae3d6
Change-Id: I46df351187d220