TODO file for Workflow

$Id: TODO 316 2007-07-04 19:17:50Z jonasbn $

- Document general workflow initialization phase and the call to the
  Workflow classes init method in a more general way

- Document relation between actions and validators

- Add test of validate in Workflow::Validator::MatchesDateFormat

- Investigate if either Workflow::Validator::InEnumeratedType or
  Workflow::Validator::MatchesDateFormat are violation an (undefined) abstract 
  class. One holds a validate method the other a validator method.

- Add test of validator in Workflow::Validator::InEnumeratedType

- Should we add DBI as a requirement, our tests seem to rely on it's
  presence and currently it seems to be required via our dependency 
  on DBD::Mock, but a more explicit requirement might be in order?
  
  Then again we do support persisters, which are not DBI related.

- Implement handling of forgotten filename parameter to parse in
  Workflow::Config::Perl, this might have to propagate to Workflow::Config::XML
  also

- Add support for string based configuration instead of file based (copying
  behavior from XML::Simple) ?

- Investigate failings tests in t/persister_dbi.t, this has only observed twice
  and does not seem to be consistent. Perhaps this is related to execution time
  for the test suite and the use of now.

	#   Failed test '...for 'current date' matches'
	#   in t/TestUtil.pm at line 69.
	#          got: '2006-07-06 21:45'
	#     expected: '2006-07-06 21:44'
	t/persister_dbi....................ok 16/41                                  
	#   Failed test '...for 'current date' matches'
	#   in t/TestUtil.pm at line 69.
	#          got: '2006-07-06 21:45'
	#     expected: '2006-07-06 21:44'
	t/persister_dbi....................NOK 31                                    
	#   Failed test '...for 'last update' matches'
	#   in t/TestUtil.pm at line 69.
	#          got: '2006-07-06 21:45'
	#     expected: '2006-07-06 21:44'
	t/persister_dbi....................NOK 39                                    
	#   Failed test '...for 'current date' matches'
	#   in t/TestUtil.pm at line 69.
	#          got: '2006-07-06 21:45'
	#     expected: '2006-07-06 21:44'
	t/persister_dbi....................ok 41/41# Looks like you failed 4 tests of 41.
	t/persister_dbi....................dubious                                   
			Test returned status 4 (wstat 1024, 0x400)
	DIED. FAILED tests 8, 17, 31, 39
			Failed 4/41 tests, 90.24% okay
        
- Eliminate warnings from DBD::Mock

	t/persister_dbi....................ok 1/41Use of uninitialized value
	in concatenation (.) or string at /Library/Perl/5.8.6/DBD/Mock.pm
	line 507.

	t/workflow.........................ok 1/32Use of uninitialized value
	in concatenation (.) or string at /Library/Perl/5.8.6/DBD/Mock.pm
	line 507.

- Write more POD, including a tutorial

- Write more tests (we need better coverage)

- Deal with whatever is in the RT queue

    - Workflow::Factory sub-classing reported by Andrew (RT #18159)
      http://rt.cpan.org/Ticket/Display.html?id=18159

    - Enabling of dynamic loading of config, patch from Andrew (RT #18265)
      http://rt.cpan.org/Ticket/Display.html?id=18265
      
- Examine and apply received patches

From TODO.txt:

- Where to put the configuration for the built-in
validators/conditions/actions? Should we make it part of the
WorkflowFactory initialization process, maybe just keep the built-ins
configured in a class that's distributed with the module? (We don't
want to force people to reference a separate file every time...

- Make the action/description of initial history created configurable
(optional?)
