Testing - Documentation
Project description
Documentation extraction
Purpose
Lupin-danquin CLI allow to create SDD documentation from source code.
Run it
- Default command
- Go to current directory.
- Execute
danq valdocs "app1, app2, app3, ..." - Result is available in "./val3_documentation.md"
-
With
--beginning-file-pathoptionYou can add the content of a third party file before the application documentation.
- Execute the above command with
--beginning-file-pathor-bflag with path to file
danq valdocs "app1, app2, app3, ..." -b "path/file"
-
With
--end-file-pathoptionYou can add the content of a third party file after the application documentation.
- Execute the above command with
--end-file-pathor-eflag 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
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
808c5e2955bb2200ffcaec4842ffb652d87909f406342d1ed067db8bbf62d47a
|
|
| MD5 |
30c484291a66b55f0ffaf7346050dda8
|
|
| BLAKE2b-256 |
92c8d234b875cf24f80cd9c21007f8de0318a8b3e119a9aa7c892cf738f3739b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc231d3b9018a33cfbfe87d061aa98ee569efb0733dbaa328fd9247512823106
|
|
| MD5 |
87003b36aaf3271c7e8d142a511e1ca5
|
|
| BLAKE2b-256 |
6ae1b4879e40b67dc162604f1b2716aa8da657ed17ddbf725d0a5e569c9c2055
|