#52 Test suite
Closed: Fixed Opened by tibbs.

The script, the satellite tools and the file format are now sufficiently complex that a test suite is pretty much mandatory. I think it will be quite some time before there's anything like complete test coverage, but at least a basic framework that I can run to verify that syntax is OK and that basic functionality is there is badly needed.


Metadata Update from @tibbs:
- Issue assigned to tibbs

Metadata Update from @tibbs:
- Issue tagged with: in progress

A basic test suite is now implemented. Currently it tests itself and create-filelist, though the tests for the latter also call the hardlinker which did turn up some bugs there.

Still need test suites for:

  • The hardlinker
  • quick-fedora-mirror itself

Metadata Update from @tibbs:
- Issue set to the milestone: 0.1

Both the hardlinker and qfm have test suites. The hardlinker tests should give reasonable coverage. It's tough to test all of qfm as especially the checkin portion just can't easily be mocked, though it would be good to add some argument to generate all of the checkout files and then just not send them.

In any case, there's a test suite now and additional improvements can come over time.

Metadata Update from @tibbs:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @tibbs:
- Issue untagged with: in progress

Metadata