Research library demonstrating test-to-code traceability techniques on Python codebases that use the Pytest testing framework.
Project description
PyTCTracer
PyTCTracer is a test-to-code traceability approach and library, which allows for dynamic code tracing of Python repositories using the Pytest testing framework, and automatic generation of test-to-code traceability links from the trace data using a number of established traceability techniques.
There are two core components in the library:
PytestTracer
: A class that is used to trace the execution of Pytest unit tests and record dynamic tracing information to a CSV log file.pytctracer
CLI: A CLI tool which can read and parse the dynamic information from the log file, apply traceability techniques to generate link predictions, and evaluate the predictions against a ground truth.
This library forms part of an undergraduate research project for a Masters of Engineering in Computer Science at UCL (University College London).
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
pytctracer-0.1.10.tar.gz
(38.0 kB
view hashes)
Built Distribution
Close
Hashes for pytctracer-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 290d28258a783439f254c1ef95f8d975e7e34ec77051650787a0d8243d22087a |
|
MD5 | 0f9ffe0e57e740d7ff6f5b672ba3b29d |
|
BLAKE2b-256 | 933cdc73ff332c1de84e334236f9b010d93a0a88a71a2f6b7ab43d8a52bbdab0 |