Create dummy data with logger and remove unnecessary lines
In order to run mass tests against real data I do log data into a log file in order to create stubs,mocks or factories for factory_girl. In order to remove the logger statement containing INFO I use
grep -vwE "(INFO)" matcher_stubs.log > matcher_stubs.log2
Written by dcdieci
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tags
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#