RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

rwjblue — 5 posts

Running Changed Tests
I just posted a new blog post showing how to use git together with rspec/minitest to run only the new and changed tests for a feature branch.
Running a Minitest Suite
An article exploring a few different ways to kick off a Minitest suite.
Nice intro to Ruby 2.0's keyword arguments.
singleton_process ensures that a given process (script, rake task, method, etc) is only running once.

Helpful for ensure that scheduled tasks do not overlap if they run longer than the scheduled interval. Uses a locked PID file to prevent issues with PID reuse.
Hippo v0.0.4 has just been published. The library now generates valid X12 5010X222A1 (837) files. Checkout the 837 test for a complete example.