<div dir="ltr">Hey,<div><br></div><div>tl;dr:</div><div>1. Could the theme unit tests file be put on public repo on GitHub?</div><div>2. Anyone want to help tackle <a href="https://core.trac.wordpress.org/ticket/22279" target="_blank">https://core.trac.wordpress.org/ticket/22279</a> ?</div><div><br></div><div>Posting after Tammie suggested I do.</div><div><br></div><div>I'd like to see The Theme Unit Tests file on GitHub for the following reasons:<br><br> * Access to commit history to see what exactly has changed version to version. Currently, us mere mortals can only see when it was updated - the information about what was not updated is not available (or not easy to find) as it's part of Automattic's SVN repo.</div><div> * Easier to see already-reported bugs and enhancements, rather than wading through the mailing list archives. </div><div><br></div><div>There's a fork already on GH (<a href="https://github.com/manovotny/wptest" target="_blank">https://github.com/manovotny/wptest</a>) which claims to have added extra edge cases. But I've currently got no idea which cases these are, and why they weren't added to the original Tests file. Michael also believes that further cases and fixes may have been added to the official Tests since the fork that aren't in his, so now we may have two sets of tests, mostly but not completely duplicated.<br><br>If the official Tests were on GH, and open to pull requests on those edge cases and other issues, then I'd hope that wptest could be discontinued to just leave a single more-complete test suite that everyone can benefit from.<br><br>The wptest file has fixed things like <a href="https://github.com/manovotny/wptest/issues/27" target="_blank">https://github.com/manovotny/wptest/issues/27</a> (s/Isaac Newton/Albert Einstein) and <a href="https://github.com/manovotny/wptest/issues/24" target="_blank">https://github.com/manovotny/wptest/issues/24</a> (s/Horizontal/Vertical on vertical featured image alt text) which the official Tests are still bugged with. Both tests are bugged with missing markup formatting tests for some elements, <a href="https://github.com/manovotny/wptest/issues/37" target="_blank">https://github.com/manovotny/wptest/issues/37</a> (s/Headers/Headings) and a side-effect of <a href="https://core.trac.wordpress.org/ticket/29621" target="_blank">https://core.trac.wordpress.org/ticket/29621</a> (post titles stripped of markup on export).<br><br>One of the things that would make contributions *considerably* easier would be to get <a href="https://core.trac.wordpress.org/ticket/22279" target="_blank">https://core.trac.wordpress.org/ticket/22279</a> (mixed line endings for XML vs cdata in export) fixed. That would enable direct editing of the file without breaking line-endings, without having to set up a clean WP install, import, amend and export. If anyone has experience of the Exporter and could help on this, then I would personally be grateful, as would potential GitHub contributors :-)</div><div><br></div><div>Gary<br><br></div><div><div><div dir="ltr">-- <div>Gary Jones<div>Web Developer, Gamajo Tech</div></div></div></div>
</div></div>