Naive solution for a basic REST API testing framework. This framework was designed to interact with the Basic RestAPI App. Make sure you run the Basic RestAPI App before setting up this project.
This project is used for educational purposes. It encourages users to enhanced it and adapt it to their needs. The idea is to start with the most simple solution and build on top of it.
The framework was designed to run inside a Docker container to strip out the complexity of setting virtual environments, facilitate its distribution and avoid the infamous but it works on my machine conversation.
-
Open a terminal
-
Change to your favorite local directory (i.e.
cd /opt) -
Clone the repository
git clone git@github.com:jllopez/basic-restapi-testfwk.git- Change to the project root directory
cd /opt/basic-restapi-testfwk- Create a new file, name it
secrets.iniand add the following contents
APP_URL=http://host.docker.internal:8080
ADMIN_USER=admin
ADMIN_PASSWORD=admin
- Start development environment
make devThis command will remove any existing
restapi_testfwkcontainers, build a newtest/restapi_testfwkimage, start a container, mount local code under/opt/restapi_testfwkand provide a/bin/bashterminal.