? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
27 Aug 2016

Summary of Changes

Simple change.
Simplify code after 08a88f0

Testing Instructions

Code review.
See #10886

Documentation Changes Required

None.

avatar andrepereiradasilva andrepereiradasilva - open - 27 Aug 2016
avatar andrepereiradasilva andrepereiradasilva - change - 27 Aug 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Aug 2016
Category Libraries
avatar joomla-cms-bot joomla-cms-bot - change - 27 Aug 2016
Labels Added: ?
avatar PhilETaylor
PhilETaylor - comment - 27 Aug 2016

"Code review" should not be an acceptable testing method... "Code review" as a testing method for PR just ends up in mistakes (ask @brianteeman haha)

Why can this not be covered by unit tests? or are they already?

avatar andrepereiradasilva andrepereiradasilva - change - 27 Aug 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - edited - 27 Aug 2016
avatar andrepereiradasilva
andrepereiradasilva - comment - 27 Aug 2016

"Code review" should not be an acceptable testing method... "Code review" as a testing method for PR just ends up in mistakes (ask @brianteeman haha)

As principle i agree. But for this changes. You want to test all URL schemes?

Why can this not be covered by unit tests? or are they already?

don't know, don't understand unit tests very well.

avatar mbabker
mbabker - comment - 27 Aug 2016

Why can this not be covered by unit tests? or are they already?

don't know, don't understand unit tests very well.

Just lean toward no on that. There are a lot of our tests that don't really test anything useful (like using Reflection to inject something to a non-public property then making sure that got injected correctly, or until PHP 7 started throwing TypeError objects tests that validated errors were raised when you used a parameter not matching the typehint on the signature).

avatar PhilETaylor
PhilETaylor - comment - 27 Aug 2016

There are a lot of our tests that don't really test anything useful

#facepalm

Still not a reason not to add "useful" tests :)

avatar mbabker
mbabker - comment - 27 Aug 2016

If you can figure out what's useful in the unit test suite, or even better decipher JHtmlTest::testStylesheet() and JHtmlTest::testScript(), you're doing better than me, and I've been trying to fix some of the tests for years.

avatar dgt41 dgt41 - test_item - 28 Aug 2016 - Tested successfully
avatar dgt41
dgt41 - comment - 28 Aug 2016

I have tested this item successfully on 4f8b072


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11817.

avatar truptikagathara truptikagathara - test_item - 29 Aug 2016 - Tested successfully
avatar truptikagathara
truptikagathara - comment - 29 Aug 2016

I have tested this item successfully on 4f8b072


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11817.

avatar jeckodevelopment jeckodevelopment - test_item - 31 Aug 2016 - Tested successfully
avatar jeckodevelopment
jeckodevelopment - comment - 31 Aug 2016

I have tested this item successfully on 4f8b072


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11817.

avatar jeckodevelopment jeckodevelopment - change - 31 Aug 2016
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 31 Aug 2016

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11817.

avatar joomla-cms-bot joomla-cms-bot - change - 31 Aug 2016
Labels Added: ?
avatar rdeutz rdeutz - close - 31 Aug 2016
avatar rdeutz rdeutz - merge - 31 Aug 2016
avatar joomla-cms-bot joomla-cms-bot - close - 31 Aug 2016
avatar rdeutz rdeutz - change - 31 Aug 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-08-31 19:34:43
Closed_By rdeutz
avatar joomla-cms-bot joomla-cms-bot - change - 31 Aug 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment