View Issue Details

IDProjectCategoryView StatusLast Update
0003395Composr testing platform / automation goals[All Projects] General / Uncategorisedpublic2017-11-29 03:23
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Summary0003395: Unit tests for hackerish addon overriding
DescriptionAddons may implement functionality via overrides that use str_replace on the original source file.

Write an automated test that sees if these (no longer) match - to detect if our addons have broken.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Relationships

related to 0002293 closedChris Graham Composr Cleaner implementation of some particular ocProducts non-bundled addons 

Activities

Chris Graham

2017-11-29 02:25

administrator   ~0005282

Actually I'm doing via a code check, not a unit test. str_replace will be replaced with override_str_replace_exactly in the init functions, which checks a substitution actually happens correctly. Therefore during normal development of Composr (out of git), you'll know if any broken substitutions have been made.

Issue History

Date Modified Username Field Change
2017-11-27 00:00 Chris Graham New Issue
2017-11-29 02:17 Chris Graham Relationship added related to 0002293
2017-11-29 02:25 Chris Graham Note Added: 0005282
2017-11-29 03:23 Chris Graham Status non-assigned => resolved
2017-11-29 03:23 Chris Graham Resolution open => fixed
2017-11-29 03:23 Chris Graham Assigned To => Chris Graham
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised