0

I cant understand how the usage of the ci_reporter gem works. How do I modify my rakefile "to make the ci:setup:testunit task a dependency of your test tasks" I don't understand how to do what this is asking me to do. Can anyone explain? Thanks

#this isn't legal ruby! ARG!!!!! 
task :myNewTask => ci:setup:testunit
Zach
  • 885
  • 2
  • 8
  • 27
  • Your problem seems to boil down to "I don't know how to specify dependencies in a `Rakefile`". [What have you tried?](http://whathaveyoutried.com/) – willglynn Nov 15 '12 at 20:15
  • I understood dependencies to mean task :myNewTask => :myDependency @willglynn – Zach Nov 15 '12 at 20:40
  • The part I don't understand is the ci:setup:testunit task or how to reference this in order to make it a dependency of an existing rake task – Zach Nov 15 '12 at 20:47

1 Answers1

0

What you want to do is to specify is as a string not a symbol.

   task :myNewTask => "ci:setup:testunit"