I'm trying to run WordPress automated tests as described in this article. Predictably, I've been getting a lot of skipped tests marked
S, because, according to the article, "this usually means that the test is linked to a bug report, and that bug report remains unfixed." I'd like to link tests to bug reports, too, but I'm having difficulty finding information about how to do that. How can I link a test to a bug report? Can I do that with GitHub issues, too?
Edit: Ok, I found this in the same article: "Many tests are marked with a @ticket annotation, which indicates they were the result of that WordPress Trac ticket. The test is skipped if the ticket is still open – in these cases, we treat the test as a “known bug” that will likely fail."
And I found
knownWPBug( $ticket_id ), but I'd love to know if there's a library for GitHub tickets like the class
TracTickets so that I can poll my GitHub repo to see if an issue is open or not.