Closed (fixed)
Project:
DeferJs
Version:
1.0.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2025 at 07:17 UTC
Updated:
14 Oct 2025 at 14:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
shubh02Uploaded wrong file
Comment #4
shubh02Proposed resolution
Adding test coverage in existing module.
Step 1 - Create a tests folder on root of module.
Step 2 - Create src folder in tests folder.
Step 3 - Create Unit folder in src folder under tests folder.
Step 4 - Create Form folder in Unit folder which is under src/tests.
So the final path will be /tests/src/Unit/Form
Step 5 - Download DeferJsFormTest.txt file and rename it with DeferJsFormTest.php
Step 6 - Place this test file DeferJsFormTest.php on path /tests/src/Unit/Form
Now test coverage is available for this module.
Comment #6
anurag_nagar commented@shubh02 I have checked the test file which seems to be covering test case for number of lines in DeferJsForm , I have raise a MR against it.
Comment #7
vinodhini.e commentedHi, I have installed the module on a Drupal 11.2.2 and applied the merge request #2
Reviewed the test file, which covers test cases for the number of lines in the DeferJsForm.
Thanks.
Comment #12
jeetmail72Comment #14
jeetmail72