<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 20:47:02 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Closing and reopening GitHub issues via PHPUnit tests]]></title>
      <guid>http://www.phpdeveloper.org/news/13876</guid>
      <link>http://www.phpdeveloper.org/news/13876</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i> has <a href="http://raphaelstolt.blogspot.com/2010/01/closing-and-reopening-github-issues-via.html">an interesting idea</a> about PHPUnit plugin (GitHub_TicketListener) that allows you to close (or reopen) <a href="http://github.com">Github</a> issues via PHPUnit tests.
</p>
<blockquote>
Since PHPUnit 3.4.0 a new extension point for interacting with issue tracking systems [...]. The extension point has been introduced by an abstract PHPUnit_Extensions_TicketListener class, which allows developer to add tailor-made ticket listeners supporting their favoured TTS. 
</blockquote>
<p>
The "@ticket" notation that PHPUnit allows as an annotation is the key to linking together your unit tests with the new listener. Two methods, getTicketInfo and updateTicket, are used to have the listener make a cURL connection over to Github and send the request to a REST-like service on the remote side. 
</p>]]></description>
      <pubDate>Wed, 20 Jan 2010 11:16:18 -0600</pubDate>
    </item>
  </channel>
</rss>
