LOBSTER Tool for Python3
Project description
LOBSTER
The Lightweight Open BMW Software Traceability Evidence Report allows you to demonstrate software traceability and requirements coverage, which is essential for meeting standards such as ISO 26262.
This package contains a tool extract tracing tags from Python3 source code.
Tools
lobster-python
: Extrat requirements from Python3 code
Usage
This tool supports both Python code and PyUnit unit tests.
For either code or tests you can embedd tracing tags like this:
def potato(self):
# lobster-trace: something.example
return "potato"
You can add justifications as well:
def potato(self):
# lobster-exclude: a very good reason is here
return "potato"
For classes you have a choice on how you trace them: you either annotate the class itself, or each individual method. If you choose to annotate the class itself, then you will get warnings for each method with an annotation.
For normal code the usage is:
lobster-python FILES_OR_DIRS
For pyunit the usage is:
lobster-python --activity FILES_OR_DIRS
For pyunit the tool automatically ignore any class function that is not explicitly a test (i.e. you don't need to manually exclude your setup or tear down code, only individual tests will be included).
Copyright & License information
The copyright holder of LOBSTER is the Bayerische Motoren Werke Aktiengesellschaft (BMW AG), and LOBSTER is published under the GNU Affero General Public License, Version 3.
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
File details
Details for the file bmw-lobster-tool-python-0.9.16.tar.gz
.
File metadata
- Download URL: bmw-lobster-tool-python-0.9.16.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6d1b76dcd498db263f428e92b8a289f40a5f1becea47c9b7ddbc3155eef2f00 |
|
MD5 | d27453bb74213856c7971ec82dc1ee48 |
|
BLAKE2b-256 | aaebb554308a30b30f21c519673feb147f142e6b7fef176bc796dfc213d058af |
Provenance
File details
Details for the file bmw_lobster_tool_python-0.9.16-py3-none-any.whl
.
File metadata
- Download URL: bmw_lobster_tool_python-0.9.16-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b3816fbbdad4d48d1327b265850fb27f0f91c9c2dcb504c7e905f373726eb7 |
|
MD5 | 386069d60bf9664b0d98bcace16f6ab5 |
|
BLAKE2b-256 | c16ff91372f1a6d777f97825530b583dda4fa7eb803ce8566c9efc41d6253851 |