[wp-trac] [WordPress Trac] #34240: Backward compatibility broken for unit test lib
WordPress Trac
noreply at wordpress.org
Sat Oct 10 09:59:18 UTC 2015
#34240: Backward compatibility broken for unit test lib
-------------------------------+------------------------------
Reporter: marcello.colacino | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Comment (by marcello.colacino):
Replying to [comment:2 SergeyBiryukov]:
> Hi marcello.colacino, welcome to Trac!
>
> A similar issue was previously discussed in #33888.
>
> Why are you using the tests of trunk and not the tests from the specific
branches?
HI SergeyBiryukov, first of all thanks for the feedback
I'm using the trunk version in order to be able to exploit in my test
suite all new features available
I also thought indeed it was designed to mantain a backward compatibility
...
Look for instance here:
http://develop.svn.wordpress.org/trunk/tests/phpunit/includes/mock-image-
editor.php
I understand that using specific-branches phpunit lib solve the current
issues,
Could you tell me which is the best workflow to be used for testing
different WP version?
For instnace: I'm using WP_Ajax_UnitTestCase in my tests, introduced in WP
3.4.0
How I should manage it if I would validate my code on a previous version?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34240#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list