Closed (fixed)
Project:
Lupus Decoupled Drupal
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
15 Oct 2024 at 16:19 UTC
Updated:
10 Jun 2025 at 10:04 UTC
Jump to comment: Most recent
Comments
Comment #2
useernamee commentedComment #3
useernamee commentedComment #4
useernamee commentedComment #5
useernamee commentedComment #6
useernamee commentedComment #7
useernamee commentedAll 3 subtickets need review:
- #3475738: Add tests for Lupus Decoupled views
- #3481050: Add tests for lupus_decoupled_user_forms
- #3485928: Add README and tests for Lupus Decoupled Block
Comment #8
fagoLet's mark this is as META and only set the issues with acutal code for needs-review.
Comment #9
useernamee commentedOne issue left to review: #3481050: Add tests for lupus_decoupled_user_forms
Comment #10
fagoI think we are pretty much done here, but there is one issue which confused me: Test location. It seems we have some tests under the main module, while others are split in the moduels we are testing. Where should tests go? I think we shall decide on a rule and then make a child-task to make sure it's enforced. Thoughts on the right rule?
Comment #11
useernamee commentedGenerally I'd argue that tests for specific functionality that a module provides should live in that module. We have however broken that pattern at the beginning with the general test and later on with the views integration.
For general tests:
- https://git.drupalcode.org/project/lupus_decoupled/-/blob/1.x/tests/src/...
- https://git.drupalcode.org/project/lupus_decoupled/-/blob/1.x/tests/src/...
I think it is fine if they stay on the top level module, but the views tests should go into the lupus_decoupled_views submodule.
Comment #12
fagook, I created the remaining todo then: https://www.drupal.org/project/lupus_decoupled/issues/3526744
So else, this is done!