Something like this should work: https://gist.github.com/myronmarston/37b74e2551007dee75a21a79cc3d5a9c
<https://gist.github.com/myronmarston/37b74e2551007dee75a21a79cc3d5a9c> HTH, Myron On Tue, Aug 16, 2016 at 9:32 AM, Jordano Moscoso <[email protected]> wrote: > Is there any way to run all my tests on a rake task? > > task :runtests=> :environment do > **HERE RUN RSPEC WITH ALL TESTS AND GET THE RESULT TO A STRING** > THEN DO SOMETHING WITH TE RESULT > end > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "rspec" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/rspec/d69addeb-957d-4dec-b34a-b2cf9696863d%40googlegroups.com > <https://groups.google.com/d/msgid/rspec/d69addeb-957d-4dec-b34a-b2cf9696863d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/CADUxQmuirFh3ehnCbtg_hpBVTdEjELNBjUftLf23n0ZUay9EMA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
