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.9.tar.gz
(38.0 kB
view hashes)
Built Distribution
pytctracer-0.1.9-py3-none-any.whl
(58.0 kB
view hashes)
Close
Hashes for pytctracer-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22a1338a932e86486fe7b0ad14028735c314b6aa63ff617293c9f5884bccce8d |
|
MD5 | 25513c4259f2aceb2807c5780af5bc4f |
|
BLAKE2b-256 | 92c42a49d9f48b8f5d3705bee542c281b28920e73d8ac1de3d3d2c0ee8c8e9e8 |