summaryrefslogtreecommitdiffstats
path: root/tests/unit/loader/qpi_test.py
AgeCommit message (Collapse)AuthorFilesLines
2017-08-30Keep tests/data consistent with repository structureYujun Zhang1-4/+4
- rename `benchmarks` in `tests/data` to `resources` - delete obsoleted contents JIRA: QTIP-258 Change-Id: I7f4ec1a1fc7b355922c7aee76851e7f0dd026f72 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-19Fix error in loader testYujun Zhang1-3/+2
Change-Id: Idac7d0ec77941974a5f93108fd5f450eef05a5ad Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-23Formalize constants for property namesYujun Zhang1-11/+11
Change-Id: I68560b2299c2a815219bc0d0399124e0c269a2c0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-03Implement plan, qpi and metric constructorsYujun Zhang1-3/+3
- separate runner from `plan` and move `plan` to `loader` - rename `algorithm` to `formula` - use `numpy` for formulas - update sample qpi and metrics Change-Id: I3131ca79907376f2de31d6cb920bd7d0230664a6 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-03Add module skeletonsYujun Zhang1-14/+14
- Remove `suite` and `case` which seems redundant at the moment - Rename `qtip.spec` to `qtip.loader` since the class loads spec - Add driver `sample` which will generate random performance data - Add collector `logfile` which will collect result from log files - Add reporter `console` which will print report to console - Add exception classes See updated class diagram in https://wiki.opnfv.org/display/qtip/Design JIRA: QTIP-148 JIRA: QTIP-193 Change-Id: Idf751d33428176a26224e4443100a142feda6f32 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-27Implment https://wiki.opnfv.org/display/qtip/DesignYujun Zhang1-0/+52
Note that some obsolete test cases are marked expected failure, will be deprecated after architecture evolution. JIRA: QTIP-148 Change-Id: I52bc9391569d516e298d9e659517161b4dce794a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>