Closed (outdated)
Project:
Diff
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Aug 2014 at 22:31 UTC
Updated:
16 Dec 2024 at 19:28 UTC
Jump to comment: Most recent, Most recent file














Comments
Comment #1
webchickHere's what I have so far from reading through the code and taking screenshots as I discover things.
Comment #2
webchickFormatting.
Comment #3
webchickMoar stuffs.
Comment #4
webchickComment #5
webchickComment #6
alan d. commentedI actually wonder if "Inline differences block" is worth removing and creating a separate project for? Open to peoples opinions on this. It is one thing that I have never used, and it is one thing that is a bit problematic in terms of integration with other modules.
I am just stating this here so either to drop (maybe unrequired) or raise the priority (it is the bit that normally fails) depending on the answer :)
@webchick
Thanks for your mentoring here. I was letting the core structural changes to get done before starting to review things hard.
Comment #7
webchickOh, I think that's a totally fair feature to drop, from a module POV. *I* personally like it being there because then we get Drupal Module Upgrader working for configurable blocks and JS/CSS. ;)
Comment #8
alan d. commentedlol, lets keep it for the meantime then, but with the possible intent to either separate out into a sub-module or even another project latter.
Comment #9
webchickHere is the absolute most basic start. All it does is define a base class that does some of the boilerplate work (like creating a node with 3 revisions for each test), then defines a test method that:
1) Hits node/X/revisions and makes the Compare button exists
2) Submits the form with the Compare button to make sure there are no errors
3) Validates that the output on the diff comparison is what's expected
4) While we're in there any way, tests the next/previous difference links as well
This should hopefully give kind of an idea of what's needed here. I'm not sure how much further (if at all) I'll be able to take this, so uploading what I've got after an hour or two of copy/pasting a lot from modules/node/node.test. :)
Comment #10
miro_dietikerI just committed basic test coverage for 8.x in the current master port sandbox.
No configuration variation yet, but the default processes offered with default settings.
See #2422735: Provide basic test coverage
Comment #11
heddnGiven the proximity of EOL for Drupal 7, marking this as won't fix. The likely final Drupal 7 release of diff has landed in https://www.drupal.org/project/diff/releases/7.x-3.5. If this is something still applicable to a more modern version of the module, feel free to re-open and post additional notes.