[katello-devel] Way of speeding unit tests up?

Lukas Zapletal lzap at redhat.com
Fri Jul 1 12:27:35 UTC 2011


On 06/30/2011 08:44 PM, Dmitri Dolguikh wrote:
> ResourcePermissions ResourcePermissions for Candlepin should create set
> of permissions for new owner and delete after destroy

Since I am working on this one today I will try to speed it up.

I am using

before(:each)

for each example but the code can be shared across all examples in this 
test. Thus I am changing this to

before(:all)

Hope this helps.

-- 
Later,

  Lukas Zapletal | E32E400A
  RHN Satellite Engineering
  Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list