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.pytctracerCLI: 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
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 pytctracer-0.1.11.tar.gz.
File metadata
- Download URL: pytctracer-0.1.11.tar.gz
- Upload date:
- Size: 38.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c36449db9c8d8acbf01e02e4036f35cfe9e0befbcc27497c590c279059d6f6af
|
|
| MD5 |
9b1214683c93a115a2700437ed140bec
|
|
| BLAKE2b-256 |
1217b84d6e6c9f80cd216bda2b7773ebc67800f8cc3da31e1726b2b9c0ae75a9
|
File details
Details for the file pytctracer-0.1.11-py3-none-any.whl.
File metadata
- Download URL: pytctracer-0.1.11-py3-none-any.whl
- Upload date:
- Size: 58.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1da5847c909c52d7133a29ccc55b261f88a5ba5089b61ecaf92eb52cd88ef32f
|
|
| MD5 |
53180aa74f2f29d00730b28f3f11f637
|
|
| BLAKE2b-256 |
c36a18ac2a9e0953bddb1e32d6e4af66336c6eeb902b5be9eab1d79893dc1412
|