... | ... | @@ -9,11 +9,11 @@ |
|
|
|
|
|
# NFV API Conformance Test Specification
|
|
|
|
|
|
[This repository](https://forge.etsi.org/gitlab/nfv/stf-557/api-tests) hosts the NFV API Conformance test specification for the APIs defined in ETSI NFV GS [SOL002](https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.04.01_60/gs_NFV-SOL002v020401p.pdf), [SOL003](https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.04.01_60/gs_NFV-SOL003v020401p.pdf), [SOL005](http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/02.04.01_60/gs_NFV-SOL005v020401p.pdf), in their versions v2.4.1.
|
|
|
[This repository](https://forge.etsi.org/gitlab/nfv/stf-557/api-tests) hosts the NFV API Conformance test specification for the APIs defined in ETSI NFV GS [SOL002](https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.04.01_60/gs_NFV-SOL002v020401p.pdf), [SOL003](https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.04.01_60/gs_NFV-SOL003v020401p.pdf), [SOL005](http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/02.04.01_60/gs_NFV-SOL005v020401p.pdf).
|
|
|
|
|
|
The Test Specification is built as a collection of [Robot Framework](http://robotframework.org/) Test Description. [Robot Framework](http://robotframework.org/) is a generic test automation framework for acceptance testing and acceptance test-driven development.
|
|
|
Currently available versions are v2.4.1 (published) and v2.6.1 (under development).
|
|
|
|
|
|
**IMPORTANT: This repository and the NFV API Conformance Test Specification is Work in Progress. The current version focuses on conformance tests of individual SOL002 and SOL003 resource endpoints. The [Robot Framework](http://robotframework.org/) Test Descriptions are expected to be consolidated and reviewed in the short term, and possibly re-organized to ease automation of NFV workflows testing. SOL005 Test Descriptions are under development and will be contributed during Q1-2019.**
|
|
|
The Test Specification is built as a collection of [Robot Framework](http://robotframework.org/) Test Description. [Robot Framework](http://robotframework.org/) is a generic test automation framework for acceptance testing and acceptance test-driven development.
|
|
|
|
|
|
## Content structure
|
|
|
|
... | ... | @@ -60,23 +60,6 @@ A [pip](http://pip-installer.org/) [requirements file](https://forge.etsi.org/gi |
|
|
$ pip install -r requirements.txt
|
|
|
```
|
|
|
|
|
|
The [MockServer](https://github.com/etsi-cti-admin/robotframework-mockserver) library has been patched to have support of JSON and JSON schema validation.
|
|
|
The patch to be applied are available at:
|
|
|
```
|
|
|
extensions/mockserverlibrary.patch
|
|
|
|
|
|
```
|
|
|
|
|
|
The patch can be installed with the following commands:
|
|
|
|
|
|
Mockserver
|
|
|
``` ssh
|
|
|
$ git clone https://github.com/etsi-cti-admin/robotframework-mockserver
|
|
|
$ cd robotframework-mockserver
|
|
|
$ patch -p1 < <this_repo_dir>/extensions/mockserverlibrary.patch
|
|
|
$ python -m pip install -e .
|
|
|
```
|
|
|
|
|
|
## Robot Framework IDE
|
|
|
It is recommended to use the Robot Framework Eclipse plugin ([RED](https://github.com/NitorCreations/RobotFramework-EclipseIDE/wiki)) for a user-friendly browsing of the Test Cases. The [RED Installation Instructions](https://github.com/NitorCreations/RobotFramework-EclipseIDE/wiki/Installation) provides full details of the installation procedure.
|
|
|
|
... | ... | |