mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-23 20:55:45 +00:00
docs: update software-testing.mdx
This commit is contained in:
parent
bbe8b31a43
commit
5d654fd522
@ -87,18 +87,20 @@ To configure these variables, please modify the file specific to the test enviro
|
|||||||
## Write new tests
|
## Write new tests
|
||||||
|
|
||||||
All tests should be placed under `tests/` and follow PHPUnit’s naming conventions (`*Test.php`).
|
All tests should be placed under `tests/` and follow PHPUnit’s naming conventions (`*Test.php`).
|
||||||
Ideally, every new code change proposal (via Pull Requests) **MUST** be accompanied by tests related to those changes.
|
|
||||||
Please refer to the Contributing section for more information on the contribution guidelines.
|
:::note
|
||||||
|
Ideally, every proposed code change (via Pull Requests) **MUST** include tests covering the related modifications.
|
||||||
|
Refer to the Contributing section for more details on the guidelines.
|
||||||
|
:::
|
||||||
|
|
||||||
<LinkCard title="Create a Pull Request" description="Instructions for submitting pull requests" href="/en/developing/contributing/pull-requests" />
|
<LinkCard title="Create a Pull Request" description="Instructions for submitting pull requests" href="/en/developing/contributing/pull-requests" />
|
||||||
|
|
||||||
This is particularly important for anything related to the logic (i.e., the algorithms) of this project.
|
This requirement is especially important for any change affecting the project’s logic or algorithms.
|
||||||
|
|
||||||
However, if you are not familiar with writing software tests, feel free to propose changes, and other contributors can take over to ensure your contribution is compliant.
|
|
||||||
|
|
||||||
|
If you are not yet familiar with writing tests, you are still welcome to submit your changes. Other contributors can help ensure the necessary tests are added.
|
||||||
|
|
||||||
### Writing tests for a new Provider
|
### Writing tests for a new Provider
|
||||||
|
|
||||||
The procedure for writing a specific test for a new provider is described on the dedicated page referenced below.
|
The procedure for creating tests for a new provider is described on the dedicated page below.
|
||||||
|
|
||||||
<LinkCard title="Testing a new Provider" description="Follow these steps to test your implementation of a new Provider" href="/en/developing/implementing-new-provider/#testing" />
|
<LinkCard title="Testing a new Provider" description="Follow these steps to test your implementation of a new Provider" href="/en/developing/implementing-new-provider/#testing" />
|
||||||
|
|||||||
@ -83,7 +83,7 @@ import {CardGrid, Card} from "@astrojs/starlight/components";
|
|||||||
"mainEntityOfPage": { "@id": "https://domainwatchdog.eu/#website" },
|
"mainEntityOfPage": { "@id": "https://domainwatchdog.eu/#website" },
|
||||||
"interactionStatistic": {
|
"interactionStatistic": {
|
||||||
"@type": "InteractionCounter",
|
"@type": "InteractionCounter",
|
||||||
"interactionType": "https://schema.org/LikeAction",
|
"interactionType": "LikeAction",
|
||||||
"userInteractionCount": 261
|
"userInteractionCount": 261
|
||||||
},
|
},
|
||||||
"potentialAction": {
|
"potentialAction": {
|
||||||
|
|||||||
@ -83,7 +83,7 @@ import {CardGrid, Card} from "@astrojs/starlight/components";
|
|||||||
"mainEntityOfPage": { "@id": "https://domainwatchdog.eu/#website" },
|
"mainEntityOfPage": { "@id": "https://domainwatchdog.eu/#website" },
|
||||||
"interactionStatistic": {
|
"interactionStatistic": {
|
||||||
"@type": "InteractionCounter",
|
"@type": "InteractionCounter",
|
||||||
"interactionType": "https://schema.org/LikeAction",
|
"interactionType": "LikeAction",
|
||||||
"userInteractionCount": 261
|
"userInteractionCount": 261
|
||||||
},
|
},
|
||||||
"potentialAction": {
|
"potentialAction": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user