Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This will primarily enable developers to add end-to-end tests for their feature without relying on actual hardware. In the current set of automation tests mostly positive scenarios are tested as it is very complex to test negative scenarios with real hardware. With the ability to simulate failure, negative scenarios can be tested in an effective manner. Negative test scenarios will also help in improving the overall code coverage of the tests.

 

Jira: CLOUDSTACK-6445

Requirements

Customization/Mock

...

A separate database already exists for storing simulator related data. The same will be modified as appropriate.

How to write tests using these changes

Writing tests leveraging the simulator enhancements

TODOS

Currently the simulator uses a separate hypervisor type, need to see what all it takes to simulate real HVs like XS, KVM etc., various network/storage resources with minimal changes in the framework. 

...