How to create the test files using the CFL command
To create the test plan we first must create the config file. Here's an example:
project: gtk2html classname: Gtk2HTML local_path: /home/james/jamesrobertson.eu/test-ruby data_path: /home/james/rorbuilder/r/gemtest http_gemtest: http://rorbuilder.info/r/gemtest/ ruby_version: ruby-2.3.0preview1 # testdata_ext defaults to .xml testdata_ext: .xml test: test 'Gtk2HTML::Render#to_a' do |html| doc = Htmle.new(html) a = Gtk2HTML::Render.new(doc).to_a end
If the above file was called gtk2html.txt we would create the test plan using the command cfl gtk2html.txt
.