code-challenge icon indicating copy to clipboard operation
code-challenge copied to clipboard

Rowen Trombo's Submission of Code Challenge

Open rentrombo opened this issue 1 year ago • 0 comments

Overview

Completed the steps outlined in the README file and adjusted as necessary for testing passes. Outside of the steps in README changes included: -Minor updates to install newest versions in Dockerfile and .ymp files -Update to API url in 'templates/urls.py' to match that url given in 'templates/parserator_web/index.html'

Demo

Updating for 3.8 import in Dockerfile image image

in 'templates/parserator_web/index.html' image

in 'templates/urls.py' image

Notes

I used heavier commenting than may be expected for best practice to be as explantory as possible with my edits.

Testing Instructions

To start testing create the Docker build in Command Prompt:

docker-compose build

Next, run the app:

docker-compose up

You can run the tests using Docker:

docker-compose -f docker-compose.yml -f tests/docker-compose.yml run --rm app

The test results should look as so: image

Please note: the XFAIL errors are referring to expected to fail errors Also note the [NOTRUN] tests are referring to tests not run due to yield not being supported by the current version of pytest

rentrombo avatar Jul 21 '24 18:07 rentrombo