Skip to content
Requirements management using version control.
Python HTML Other
Branch: develop
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Expect Poetry 1.0 is installed Dec 14, 2019
docs Add type to extended attributes fingerprint Dec 1, 2019
doorstop Merge pull request #468 from henrik-garbergs/develop Mar 23, 2020
reqs
.appveyor.yml Add AppVeyor CI for Windows testing Feb 15, 2020
.coveragerc doorstop/gui: move the Application class to a separate file Aug 4, 2019
.editorconfig Fix editor config Jul 11, 2019
.gitattributes Create structure for mkdocs Jun 8, 2016
.gitignore Bump version to 1.6 Aug 10, 2019
.isort.cfg Ensure isort knows where to order 'doorstop' Jul 12, 2019
.mypy.ini Fix editor config Jul 11, 2019
.noserc Update project structure from template Apr 15, 2015
.project Update project structure from template Apr 15, 2015
.pydevproject
.pydocstyle.ini Update code to comply with latest rules Feb 17, 2018
.pylint.ini
.scrutinizer.yml Update Scrutinizer config Sep 18, 2018
.travis.yml Expect Poetry 1.0 is installed Dec 14, 2019
.verchew.ini Expect Poetry 1.0 is installed Dec 14, 2019
CHANGELOG.md
CONTRIBUTING.md Switch to poetry for dependency management Jul 11, 2019
Doorstop.sublime-project Apply template updates Mar 11, 2017
LICENSE.md Switch to poetry for dependency management Jul 11, 2019
MANIFEST.in The html template (css and js) assets are now installed Feb 27, 2017
Makefile Merge pull request #474 from henrik-garbergs/develop Apr 30, 2020
Procfile Serve from public folder Apr 12, 2017
README.md Add line break between badges Feb 15, 2020
app.json Switch to default Heroku Python buildpack Jul 30, 2017
mkdocs.yml Update documentation links for the repository rename Aug 30, 2019
poetry.lock Fix missing 'six' dependency Feb 16, 2020
pyproject.toml Fix missing 'six' dependency Feb 16, 2020
requirements.txt Switch to poetry for dependency management Jul 11, 2019
runtime.txt Use Python 3.8 for the demo site Nov 29, 2019
scent.py

README.md

Unix Build Status Windows Build Status
Coverage Status Scrutinizer Code Quality PyPI Version
Gitter Google Best Practices

Overview

Doorstop is a requirements management tool that facilitates the storage of textual requirements alongside source code in version control.

When a project leverages this tool, each linkable item (requirement, test case, etc.) is stored as a YAML file in a designated directory. The items in each directory form a document. The relationship between documents forms a tree hierarchy. Doorstop provides mechanisms for modifying this tree, validating item traceability, and publishing documents in several formats.

Doorstop is under active development and we welcome contributions. The project is licensed as LGPLv3. To report a problem or a security vulnerability please raise an issue. Additional references:

Setup

Requirements

  • Python 3.5+
  • A version control system for requirements storage

Installation

Install Doorstop with pip:

$ pip install doorstop

or add it to your Poetry project:

$ poetry add doorstop

After installation, Doorstop is available on the command-line:

$ doorstop --help

And the package is available under the name 'doorstop':

$ python
>>> import doorstop
>>> doorstop.__version__

Usage

Switch to an existing version control working directory, or create one:

$ git init .

Create documents

Create a new parent requirements document:

$ doorstop create SRD ./reqs/srd

Add a few items to that document:

$ doorstop add SRD
$ doorstop add SRD
$ doorstop add SRD

Link items

Create a child document to link to the parent:

$ doorstop create HLTC ./tests/hl --parent SRD
$ doorstop add HLTC

Link items between documents:

$ doorstop link HLTC001 SRD002

Publish reports

Run integrity checks on the document tree:

$ doorstop

Publish the documents as HTML:

$ doorstop publish all ./public
You can’t perform that action at this time.