Solution for the Instruct Backend Test
- Python 3.6+
- PostgreSQL 12.3+ ... and that's it! 🚀
$ cd path/to/instruct-backend-test
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ source .env
$ python manage.py db init
$ python manage.py db migrate
$ python manage.py db upgrade
$ python manage.py runserver
Go to another terminal and run de following commands
$ cd path/to/instruct-backend-test/src/tests
$ k6 run -e API_BASE='API_URL' tests-open.js
Remember to change the 'API_URL' for the actual URL of the running API
TBD
Rafael Falcão @rafaelvfalc