Skip to content

abunuwas/documentation-driven-development

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple example of documentation-driven development

  1. Install the dependencies:

    $ pipenv install

    $ npm install dredd

  2. Activate the environment:

    $ pipenv shell

  3. Run the app:

    $ FLASK_APP=app:app flask run

    Visit the auto-generated documentation at 127.0.0.1:5000/docs

  4. Run the Dredd tests:

    $ ./node_modules/.bin/dredd oas.yaml http://127.0.0.1:5000 --hookfiles=./hooks.py --language=python --server "flask run"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages