Reorganized the tests following these rules
- all tests have been put under *tests* folder
- all tests are organised under folders named
by their correspondent layer
bluval.py was modified to reflect the changes
TODO: each layer under *tests* folder should have a correspondent
layer in the *docker* folder
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: Ifdd46ee22b6d009eb17475c5e2efd8bd9f37c3ad
13 files changed:
files = **.yaml, **.yml
use_spaces = true
max_line_length = 120
files = **.yaml, **.yml
use_spaces = true
max_line_length = 120
-ignore = conformance/sonobuoy.yaml
+ignore = tests/k8s/conformance/sonobuoy.yaml
[all.Python]
bears = PyLintBear
[all.Python]
bears = PyLintBear
"""
show_stopper = testcase.get('show_stopper', False)
what = testcase.get('what')
"""
show_stopper = testcase.get('show_stopper', False)
what = testcase.get('what')
- results = "results/"+what
- command = '{} {} {} {}'.format("robot", "-d", results, what)
+ results = "results/"+testcase.get('layer')+"/"+what
+ test_path = "tests/"+testcase.get('layer')+"/"+what
+ command = '{} {} {} {}'.format("robot", "-d", results, test_path)
print('Executing testcase {}'.format(testcase['name']))
print(' show_stopper {}'.format(show_stopper))
print('Executing testcase {}'.format(testcase['name']))
print(' show_stopper {}'.format(show_stopper))
"""
print('## Layer {}'.format(layer))
for testcase in blueprint[layer]:
"""
print('## Layer {}'.format(layer))
for testcase in blueprint[layer]:
+ testcase['layer'] = layer