Add cleanUp method into integration tests
Registered by
Martin Pavlásek
I think that can be useful to have cleanUp method in BaseTestCase [1]. Purpose of this method is remove all allocated resources (created users, images, etc.) at the end of scenario - like it's done in Tempest [2].
What do you think that is a good idea/suitable to implement cleanup method into integration tests?
examle (pseudopython):
def test_create_
goto_
username = random_str('user-')
create_
self.
update_
[1] https:/
[2] http://
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Martin Pavlásek
- Direction:
- Needs approval
- Assignee:
- Martin Pavlásek
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- David Lyle
Related branches
Related bugs
Sprints
Whiteboard
(?)