Bug #1683
closed
Added by Alex Afanasyev over 10 years ago.
Updated about 10 years ago.
Description
Security test cases should use a common or custom fixture to create and destroy keys/certificates.
As of right now, if the test case fails, the system is poisoned with garbage keys/certificates installed.
To reduce test execution time, it would be nice if certificates for testing can be maintained in a global fixture, so that they can be reused across test cases when it is safe to do so; the global fixture should delete all remaining certificates after all test cases are complete.
For security test, I may have particular requirements on each created identity (especially on the name of identity and certificate). It would be better if identities can be created in test case and removed by fixture destructor. I doubt if global fixture would allow that. Maybe we should use per test-suite fixture?
- Status changed from New to In Progress
- % Done changed from 0 to 30
- Status changed from In Progress to Code review
- % Done changed from 30 to 100
- Status changed from Code review to Closed
Also available in: Atom
PDF