[wp-trac] [WordPress Trac] #34693: Add browser-based testing and automated acceptance tests (BrowserStack)

WordPress Trac noreply at wordpress.org
Thu Feb 25 01:38:15 UTC 2016


#34693: Add browser-based testing and automated acceptance tests (BrowserStack)
------------------------------+-----------------------------
 Reporter:  westonruter       |       Owner:  jonathanbardo
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+-----------------------------

Comment (by westonruter):

 Replying to [comment:5 rahul286]:
 > When choosing a framework for acceptance test we did not look for
 WordPress integration as by nature, I think acceptance tests are not
 supposed to deal with system internals. Kind of black box testing.

 That makes sense to me. I don't have enough familiarity to know the
 advantages/disadvantages. I suppose my main concern is that the most
 established/standard tool be chosen for the job, one with the widest
 adoption. I honestly don't know how common it is for acceptance testing to
 be used in WP projects, so I don't know what is most commonly used.

 > So can you please help me understand if you use Codeception for
 acceptance testing only or for unit testing as well?

 If using Codeception for core, I'd think we'd specifically only want to
 use it for acceptance testing since unit/integration tests are pretty
 firmly established in direct PHPUnit.

 > Whichever project we use to automate acceptance testing, I believe we
 will need another tool for test case management. Any suggestions on this?

 Beyond just committing the acceptance testing scripts to the repo? Do you
 mean a tool for facilitating the development of the tests, like recording
 macros?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34693#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list