codecheckers / codecheckers/ojs-codecheck

write Unit Tests

Open
#136 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
5
Forks
3
Avg merge
19m
Merged PRs (30d)
3

Description

See #104 & #55.

## Write Unit Tests for the `CodecheckIssueLabels.php` file.
- [ ] Mock the Schema
- [ ] Mock the DB
- [ ] Create Test Data
- [ ] write appropriate unit-tests with the mocks and the test data

Contributor guide

Open the contributing guide

Research direction

Start with CodecheckIssueLabels.php and read the related issues #104 and #55 for context. Find the repository’s unit-test entry point, then cover the file using mocked Schema and DB objects plus test data. Done means the appropriate unit tests are written and pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 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.