1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 19:01:15 +01:00
workload-automation/wlauto/tests
Marc Bonnici 9ba30c27df WA Types: Added 'ParameterDict' type.
A new 'ParameterDict' has been added that automatically encodes and
decodes values when they are store in a dictionary. The dictionary uses 2 characters
prefixed to each value to store the original type information, e.g. 'fl' -> list of
floats, before being passed through a url encoder. The reverse process happens on retrieval.
To access the encoded values an `iterEncodedItems` and `getEncodedValue` methods have been added.

The appropriate unit tests have also been added.
2017-02-20 16:44:24 +00:00
..
data Initial commit of open source Workload Automation. 2015-03-10 13:09:31 +00:00
__init__.py Pylint fixes 2016-07-21 16:40:26 +01:00
README Initial commit of open source Workload Automation. 2015-03-10 13:09:31 +00:00
test_agenda.py Initial commit of open source Workload Automation. 2015-03-10 13:09:31 +00:00
test_config.py Updated pylint for v1.5.1 2015-12-09 16:52:39 +00:00
test_device.py Pylint fixes 2016-07-21 16:40:26 +01:00
test_diff.py Pylint fixes 2016-07-21 16:40:26 +01:00
test_execution.py Updated pylint for v1.5.1 2015-12-09 16:52:39 +00:00
test_extension_loader.py Pylint fixes 2016-07-21 16:40:26 +01:00
test_extension.py Parameter: Fixed overriding of new parameters 2016-02-04 15:36:47 +00:00
test_instrumentation.py Pylint fixes 2016-07-21 16:40:26 +01:00
test_results_manager.py Initial commit of open source Workload Automation. 2015-03-10 13:09:31 +00:00
test_utils.py WA Types: Added 'ParameterDict' type. 2017-02-20 16:44:24 +00:00

To run these tests you need to have nose package installed. You can get it from PyPI by using pip:

        pip install nose

Or, if you're on Ubuntu, you can get it from distribution repositories:

        sudo apt-get install python-nose

Once you have it, you can the tests by executing the follwing the project's top-level directory (the
one with setup.py):

        nosetests