[augeas-devel] [Augeas] #10: Make it easier to run tests against whole files

Augeas trac at fedorahosted.org
Wed Aug 27 21:55:31 UTC 2008


#10: Make it easier to run tests against whole files
-------------------------+--------------------------------------------------
 Reporter:  lutter       |       Owner:  lutter  
     Type:  enhancement  |      Status:  new     
 Priority:  major        |   Milestone:  wishlist
Component:  Augeas       |     Version:  0.2.2   
 Keywords:               |  
-------------------------+--------------------------------------------------
 Currently, to run a test against a whole input file, that file needs to be
 cut&paste into the test module. It would be much more user friendly if
 Augeas supported either or both of these methods to read a file into a
 test:

  1. Allow shell-like HERE documents
  2. Add a primitive 'string_from_file: string -> string' that takes a
 filename and returns a string with the file's contents

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/10>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list