Testing katello w/ zeus

Per the testing page[1], has anyone successfully gotten tests to run w/ zeus?

Failed loading test file:
cannot load such file – katello_test_helper

After googling, I tried various flavors of this

RAILS_TEST_HELPER=../katello/test/katello_test_helper.rb

without success.

[1] http://www.katello.org/developers/testing.html

··· -- @thomasmckay


“The leader must aim high, see big, judge widely, thus setting himself apart form the ordinary people who debate in narrow confines.” ~ Charles De Gaulle

“Leadership is about making others better as a result of your presence and making sure that impact lasts in your absence.” ~ Harvard Business School

This is what works for me: https://gist.github.com/iNecas/9124678

– Ivan

··· ----- Original Message ----- > > Per the testing page[1], has anyone successfully gotten tests to run w/ zeus? > > Failed loading test file: > cannot load such file -- katello_test_helper > > After googling, I tried various flavors of this > > RAILS_TEST_HELPER=../katello/test/katello_test_helper.rb > > without success. > > > [1] http://www.katello.org/developers/testing.html > > -- > @thomasmckay > > -- > "The leader must aim high, see big, judge widely, thus setting himself apart > form the ordinary people who debate in narrow confines." ~ Charles De Gaulle > > "Leadership is about making others better as a result of your presence and > making sure that impact lasts in your absence." ~ Harvard Business School > > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-dev+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. >

katello.org documentation updated to describe using zeus for testing[1].

By using zeus and pry it is very efficient to iterate on test writing and debugging. Where a single run previously would take four minutes(!) it now takes less than 20 seconds on my development VM.

I did read that RubyMine can work with zeus as well but since I only use remote debugging I did not try that and stuck with pry. If anyone tries that out please share your experiences.

Thanks @inecas!!

[1] https://github.com/Katello/katello.org/pull/192

··· ----- Original Message ----- > This is what works for me: https://gist.github.com/iNecas/9124678 > > -- Ivan > > ----- Original Message ----- > > > > Per the testing page[1], has anyone successfully gotten tests to run w/ > > zeus? > > > > Failed loading test file: > > cannot load such file -- katello_test_helper > > > > After googling, I tried various flavors of this > > > > RAILS_TEST_HELPER=../katello/test/katello_test_helper.rb > > > > without success. > > > > > > [1] http://www.katello.org/developers/testing.html > > > > -- > > @thomasmckay > > > > -- > > "The leader must aim high, see big, judge widely, thus setting himself > > apart > > form the ordinary people who debate in narrow confines." ~ Charles De > > Gaulle > > > > "Leadership is about making others better as a result of your presence and > > making sure that impact lasts in your absence." ~ Harvard Business School > > > > -- > > You received this message because you are subscribed to the Google Groups > > "foreman-dev" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to foreman-dev+unsubscribe@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-dev+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. >