Skip to main content

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


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)

Uploaded Source

Built Distribution

pytctracer-0.1.10-py3-none-any.whl (58.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page