project-chip / project-chip/certification-tool

[Enhancement] Implement real hash check for test suite and test case metadata

Open
#339 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement v1.4.2
Dominant language
Shell
Stars
82
Forks
47
Avg merge
1d 15h
Merged PRs (30d)
17

Description

Enhancement description

Implement real hash checks for test suite and test case metadata so that we can use it to look for existing metadata on the db and stop recreating metadata for each execution.

Additional information

The backend code has some TODOs for this on app/test_engine/test_script_manager.py
Screenshot 2024-08-08 at 10 22 33

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in app/test_engine/test_script_manager.py, focusing on the TODOs related to hashing test suite and test case metadata. Trace how metadata is currently created and looked up in the database, then define completion as reusing matching existing metadata instead of recreating it for every execution, with coverage for both suite and case metadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
database, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.