testing-concept-use-global-var-for-logging

in the exact place you want more insight within the test, add a $loggit = true before and a $loggit = false afterwards

create a "say" method in the class you're working on.

def say message
  if $loggit
    puts message
  end
end

The test/view logs cycle is very fast and you can hone in on the issue quickly.

Referring Pages

codedtested testing-concept-exclusive-tests