Commit cdd42840 authored by Houcem Kacem's avatar Houcem Kacem
Browse files

Merge branch 'feature/batch-entity-operations-tests' of...

Merge branch 'feature/batch-entity-operations-tests' of https://forge.etsi.org/rep/cim/ngsi-ld-test-suite into feature/batch-entity-operations-tests
parents ae3420ac f4ceeaa9
Loading
Loading
Loading
Loading
+41 −14
Original line number Diff line number Diff line
*OS: Linux*
# Quick start guide

#### Install Python & PIP   
## Install Python & PIP   

* Install Python3 by running the following command:
```$ sudo dnf install python3```

```$ sudo dnf install python3``` (Ubuntu)

```$ brew install python3``` (MacOS)

* Confirm its installation with:   
```$ python --version```

```$ python --version``` (Ubuntu)

```$ python3 --version``` (MacOS)

* At this point, you can launch Python3 interpreter:    
```$ python```

```$ python``` (Ubuntu)

```$ python3``` (MacOS)

* Pip should be included by default. To confirm, run:   
```$ command -v pip```   

```$ command -v pip``` (Ubuntu)

```$ pip3 --version``` (MacOS)

* In case pip is not installed, [follow the official pip installation guide](https://pip.pypa.io/en/latest/installing/).

#### Install IDE (VSCode)
* Install Visual Studio code (https://code.visualstudio.com/docs/setup/linux)
## Install IDE (VSCode)

* Install [Visual Studio Code](https://code.visualstudio.com/docs/setup/linux)

* Install [Robot Framework Intellisense](https://marketplace.visualstudio.com/items?itemName=TomiTurtiainen.rf-intellisense)

#### Checkout the base project   
## Checkout the base project   

```$ git clone git@forge.etsi.org:cim/ngsi-ld-test-suite.git```

#### Install the project requirements
## Install the project requirements

Browse the base project root folder and execute the following command:   

```$ sudo python -m pip install -r requirements.txt```    
```$ python -m pip install -r requirements.txt``` (Ubuntu)

```$ python3 -m pip install -r requirements.txt``` (MacOS)

Further details on each library can be found in [PyPi](https://pypi.org/) and [Robot Framework Standard Libraries](http://robotframework.org/robotframework/#standard-libraries)

#### Execute the tests
## Execute the tests

Configure the context broker URL in the resources/variables.py file

Launch the tests with the following command:

```$ robot --outputdir ./results .```   

For more running instructions please consult [scripts/run_tests.sh](https://github.com/easy-global-market/isg-cim-tpdl-demo/blob/rf-demo/scripts/run_tests.sh).

#### Useful links   
# Useful links   

* [Robot Framework User Guide](http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#output-file)