Tuesday, December 15, 2009

Unit tests? We don't need no stinkin' unit tests!

While packaging ruby-coderay for ALT Linux I ran into problem that tests just fail. Well, this is not really a problem, because we have Ruby 1.9.1 and there may be some obsolete language constructions or encoding issues. In fact, there was two issues that happen only on Ruby 1.9.x - Marshall::dump adds encoding information and output differs from expected. Other seven errors were really funny.

Seven tests fail in CSS section of HTML output. Browsing through revision history brought me to [r332] and [r329], both commited by Upstream Developer around 22 Apr 2009. Patch was obvious and commited in my repo on 29 Jul 2009.

After several months I've decided to update ruby-coderay package. There was another amazing [r372] commited on 18 Oct 2009. And fixed with another obvious patch on 09 Nov 2009.

Since Aplil 2009 only one test was fixed by [r361] on 10 Oct 2009.

Bottom line: test suite for CodeRay project has been broken for almost eight months and nobody gives a fuck. Gosh, I LOVE Free Software!

1 comment:

  1. In Ohio, for instance, the betting market is set to open Jan. 1, 2023. Bet365 operates under a UK playing license and its servers are located outdoors of India. While the Indian authorities restricts playing throughout the nation, the online playing legal guidelines solely have jurisdiction over playing actions that involve servers located inside India. While there is a total of solely 120 games that customers can play, the variability and diversity shouldn't be an issue virtually all} of the gamblers. This is feasible as a result of|as a outcome of} the games at Ignition were picked individually by the group behind this online 카지노사이트 casino.