An open API service indexing awesome lists of open source software.

https://github.com/mesmacosta/alpha_vantage_bdd

provide a BDD approach to verify how the Alpha Vantage API works
https://github.com/mesmacosta/alpha_vantage_bdd

alpha-vantage-api alpha-vantage-bdd bdd behave

Last synced: 3 months ago
JSON representation

provide a BDD approach to verify how the Alpha Vantage API works

Awesome Lists containing this project

README

        

# Alpha Vantage BDD

The main goal of this project is to provide a BDD approach to verify how the Alpha Vantage API works

## 1. Environment setup

##### 1.1. Set Up a Python 3 development environment

##### 1.2. Using *virtualenv* is recommended (optional)

`pip install --upgrade virtualenv`

`python3 -m virtualenv --python python3 env`

`source ./env/bin/activate`

##### 1.3. Install the dependencies

`pip install -r requirements.txt`

##### 1.4. Set your environment and credentials

Change the file: ./execute.sh, set your Google Cloud project_id on the YOUR_PROJECT placeholder.

Place your Service Account at the directory: ./app/auth/batch-workload-log-writter.json

Set your Alpha Vantage API KEY at the file ./features/environment.py

For instructions on getting your key, go to: https://www.alphavantage.co/support/#api-key

## 2. Running the test suite

##### 2.1. Fire API tests

```
behave ./features --tags=-wip
```