Project

General

Profile

Actions

Bug #1683

closed

Fix security test cases

Added by Alex Afanasyev almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
Start date:
06/19/2014
Due date:
% Done:

100%

Estimated time:

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.

Actions #1

Updated by Junxiao Shi almost 10 years ago

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.

Actions #2

Updated by Yingdi Yu almost 10 years ago

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?

Actions #3

Updated by Yingdi Yu almost 10 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30
Actions #4

Updated by Yingdi Yu over 9 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 30 to 100
Actions #5

Updated by Yingdi Yu over 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF