jordansissel/fpm — Issue #138: Use a real testing framework
Author: ohookins
Created: 2011-12-26 12:33:57+00:00
State: open

The functional testing done by Make and shell scripts is not a great way to do testing and is hard to extend sanely. I'd like to see either RSpec (preferably) or Test::Unit being used so that the vast majority of the code paths can actually be tested without needing to actually build packages or have source files around.

As it is, I'm hesitant to offer patches to refactor some parts of the code base to make certain features work (better or at all) and I'm sure others feel the same, since it is difficult to test the changes.

I'd be happy to offer a pull request for adding basic RSpec support (with some tests for code I've added).