Skip to content

robertbaldyga/test-framework

 
 

Repository files navigation

Test framework for Open-CAS Linux

This framework consists of API and test suite for Open-CAS Linux.

Required python packages

Required python packages can be found here.
Just install them by typing pip3 install -r requirements.txt

How to run tests?

Make sure you have a platform with at least 2 disks (one for cache and one for core). Be careful as these devices will be most likely overwritten with random data during tests. Tests can be either executed locally or on a remote platform specified in the dut_config.

  1. Create config/configuration.py file in order to set Open-CAS Linux repo path. You can also set additional options in there. Example of the configuration file can be found here.
  2. As mentioned before tests can be either executed locally or on a remote platform specified in the dut_config.
    a) For local execution remove the line setting ip in the dut_config.
    b) For remote execution set the ip value in the dut_config.
  3. Set disks params in dut_config (for remote execution also set user and password).
  4. Run with pytest --dut-config=example_dut_config or any other created dut_config.

About

Test framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%