- Issue created by @smustgrave
- Merge request !4775Issue #3387163: Decouple tour from ConfigInstallProfileOverrideTest β (Open) created by smustgrave
- Open on Drupal.org βEnvironment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - last update
over 1 year ago 30,149 pass - Status changed to Needs work
over 1 year ago 10:55pm 13 September 2023 - πΊπΈUnited States smustgrave
Ended up reusing actions as they were already included.
- πΊπΈUnited States xjm
A test of the configuration system should not rely on any core feature. Coupling test coverage to anything unnecessary to the test is bad and causes no end of false fails, technical debt, and weird problems. We should therefore always use test fixtures instead of real core features unless the feature itself is what's being tested. If Tour can be swapped for Action without any impact on the coverage or intended functionality of the test, it can also be swapped for a test module with a similar configuration structure. Thanks!
- last update
over 1 year ago 30,153 pass, 1 fail - last update
over 1 year ago Build Successful - last update
over 1 year ago 30,158 pass - Status changed to Needs review
over 1 year ago 5:42pm 14 September 2023 - Status changed to Needs work
about 1 year ago 9:48pm 18 September 2023 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Left a comment, we already have
\Drupal\config_test\Entity\ConfigTest
so I think we can simplify this even further - Status changed to Needs review
about 1 year ago 10:21pm 18 September 2023 - πΊπΈUnited States smustgrave
Switched up to using entity_test_bundle.
- last update
about 1 year ago 30,167 pass, 2 fail - last update
about 1 year ago 30,170 pass - Status changed to RTBC
about 1 year ago 12:32am 27 September 2023 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Looks good to me, nice one!
- last update
about 1 year ago 30,362 pass - Status changed to Needs work
about 1 year ago 3:03pm 28 September 2023 - π¬π§United Kingdom alexpott πͺπΊπ
Nice decoupling from the tour module but unfortunately I think we've subtly changed the nature of what is being tested here and given how optional configuration is handled during installation I think the changes are important. I've added comments to the MR in gitlab.
- Status changed to Needs review
about 1 year ago 3:18pm 28 September 2023 - last update
about 1 year ago 30,367 pass - Status changed to RTBC
about 1 year ago 12:31am 30 October 2023 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I think this is ready again, but I will admit I've struggled to get my head around it.
Looking at it line by line, it looks to me like the removed tour config has been replaced with equivalent test config entities
- last update
about 1 year ago 30,467 pass - Status changed to Needs work
about 1 year ago 9:14am 30 October 2023 - π¬π§United Kingdom alexpott πͺπΊπ
Added some more comments to the MR.
- Status changed to Needs review
about 1 year ago 11:59pm 7 November 2023 - πΊπΈUnited States smustgrave
@alexpott think I addressed the issues.
- Status changed to Needs work
about 1 year ago 4:03am 2 December 2023 - π³πΏNew Zealand quietone
Came by here to move issues along for the tour module.
@smustgrave, thanks for working on this and learning about the configuration system on the way!
I think this is ready again, but I will admit I've struggled to get my head around it.
I agree with @larowlan! A completed issue summary is extremely valuable to anyone working on an issue and this one is empty. :-( What this, and every issue, should have is a high quality issue summary that explains what the code is doing with as much detail as needed so contributors don't need to start from scratch. Because of the time spent figuring out the changes, I did not review the code (and beside larowlan and alexpott already have) so I stuck to the comments. Setting to NW for improvement in that area.
- Status changed to Needs review
about 1 year ago 4:35am 2 December 2023 - πΊπΈUnited States smustgrave
Addressed feedback.
Some of it though not sure gitlab was showing old versions.
- Status changed to Needs work
12 months ago 6:13am 3 January 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
One minor comment now, and then I think this is ready
π€― This one has been a real struggle to comprehend
- Assigned to smustgrave
- Issue was unassigned.
- Status changed to RTBC
12 months ago 3:04pm 3 January 2024 - πΊπΈUnited States smustgrave
Since this has gone through a round of reviews and last feedback was a comment change think this is good to RTBC.
- last update
12 months ago 25,934 pass, 1,819 fail - π¬π§United Kingdom alexpott πͺπΊπ
Committed and pushed c8a07913a0 to 11.x and ebdf86b465 to 10.2.x. Thanks!
Backported to 10.2.x to keep tests aligned.
-
alexpott β
committed ebdf86b4 on 10.2.x
Issue #3387163 by smustgrave, larowlan, alexpott, xjm, quietone:...
-
alexpott β
committed ebdf86b4 on 10.2.x
- Status changed to Fixed
12 months ago 2:55pm 4 January 2024 -
alexpott β
committed c8a07913 on 11.x
Issue #3387163 by smustgrave, larowlan, alexpott, xjm, quietone:...
-
alexpott β
committed c8a07913 on 11.x
- πΊπΈUnited States smustgrave
Thanks for all the help on this one everyone. Certainly was a confusing one.
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Yes definitely, thanks @alexpott for the eagle eyes
Automatically closed - issue fixed for 2 weeks with no activity.