A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://github.com/IBM/Issue-Test-Localizer below:

IBM/Issue-Test-Localizer: This repository is for Issue-Test-Localizer. An approach for localizing tests from issue descriptions

Given as input an issue description and the files in a Python repo, return as output a selected subset of relevant regression tests existing in the repo.

This is an approach to select regression tests to assist the process of solving software development problems.

  1. Environment Setup
git clone https://github.ibm.com/tfahmed/Regression-Test-Selection
cd Regression-Test-Selection

python3.11 -m venv selection_venv
source selection_venv/bin/activate
pip install -r requirements.txt
  1. API Key Setup
export OPENAI_API_KEY={Your_Key}
export MODEL_SERVING_URL={Base_URL} # URL of the model serving endpoint
  1. Suspicious Function Localization
bash -x src/get_suspicious_funcs.sh [dataset] [model] [log_dir]

After the script completes, you can find:

  1. Regression Test Selection and Minimization
python3 minimization.py [suspicious_func_json] [result_json]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4