Ask Your Question
0

Is there a way to cache module for testing (rspec)

asked 2016-07-25 00:11:52 -0600

jk2l gravatar image

It seem my computer keep downloading all module via puppet forge everytime i run a test.

is there a way to prevent the modules being cleaned or i can enforce caching? this can speed up the testing process

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-10-02 05:07:55 -0600

David Schmitt gravatar image

updated 2017-10-02 05:09:01 -0600

You can run rake spec_prep once, and rake spec_standalone instead of rake spec to avoid the cleaning step.

For fast cycles during development, you can even just use the rspec CLI directly to run only what you are currently working on.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-07-25 00:11:52 -0600

Seen: 199 times

Last updated: Oct 02