Skip to main content

Testing - Documentation

Project description

Documentation extraction

Purpose

Lupin-danquin CLI allow to create SDD documentation from source code.

Run it

  • Default command
  1. Go to current directory.
  2. Execute danq valdocs "app1, app2, app3, ..."
  3. Result is available in "./val3_documentation.md"
  • With --beginning-file-path option

    You can add the content of a third party file before the application documentation.

  1. Execute the above command with --beginning-file-path or -b flag with path to file
    danq valdocs "app1, app2, app3, ..." -b "path/file"
  • With --end-file-path option

    You can add the content of a third party file after the application documentation.

  1. Execute the above command with --end-file-path or -e flag with path to file
    danq valdocs "app1, app2, app3, ..." -e "path/file"
  • With environnement variables

    You can set environment variables:

    • VAL3_APPLICATIONS=app1, app2, ...
    • VAL3_BEGINNING_FILE_PATH=path/to/file
    • VAL3_END_FILE_PATH=path/to/file
  • help command

  1. Execute danq valdocs --help

Add documentation

For a program (pgx file)

Edit your program and add one or more lines of comments the line after "begin" keyword.

For an application

Create a text file named "README.md" at the same level as "pjx" file. And add one or more lines of description.

Improvements oportunities

  • Improve table for sockets
  • Allow to end docstring with 10 * "/"

Other ideas

To create a sanitizer:

  • detect unused variables (private, public?): already done for local variables and parameters (not global variables)
  • detect wrongly named variables (l_, x_, s/b/n/st, t, Out): DONE
  • validate plantuml diagram from pjx files
  • code coverage ? find if all return values are tested

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lupin_danquin-1.0.7.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lupin_danquin-1.0.7-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file lupin_danquin-1.0.7.tar.gz.

File metadata

  • Download URL: lupin_danquin-1.0.7.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for lupin_danquin-1.0.7.tar.gz
Algorithm Hash digest
SHA256 808c5e2955bb2200ffcaec4842ffb652d87909f406342d1ed067db8bbf62d47a
MD5 30c484291a66b55f0ffaf7346050dda8
BLAKE2b-256 92c8d234b875cf24f80cd9c21007f8de0318a8b3e119a9aa7c892cf738f3739b

See more details on using hashes here.

File details

Details for the file lupin_danquin-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: lupin_danquin-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for lupin_danquin-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 bc231d3b9018a33cfbfe87d061aa98ee569efb0733dbaa328fd9247512823106
MD5 87003b36aaf3271c7e8d142a511e1ca5
BLAKE2b-256 6ae1b4879e40b67dc162604f1b2716aa8da657ed17ddbf725d0a5e569c9c2055

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page