Skip to content

Conversation

@dxL1nus
Copy link
Contributor

@dxL1nus dxL1nus commented Dec 18, 2025

closes #70

!IMPORTANT: This PR can only be safely merged after PR #63

This is the PR for the first unit tests for the ojs-codecheck plugin. The tests are mainly for the RetrieveReserveIdentifiers scripts and can act as a guideline/ template on how to write other unit tests for the remaining class files.

Run the tests with the following command from the PKP OJS root directory:

lib/pkp/lib/vendor/phpunit/phpunit/phpunit -c lib/pkp/tests/phpunit.xml plugins/generic/codecheck/tests/

Results:
grafik

find the test coverage in the following file:

/var/www/html/ojs-tests/lib/pkp/tests/results/index.html
grafik

dxL1nus added 30 commits October 8, 2025 21:40
dxL1nus and others added 25 commits November 13, 2025 20:09
@dxL1nus dxL1nus requested a review from nuest December 18, 2025 18:17
@dxL1nus dxL1nus self-assigned this Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add first Unit tests

1 participant