This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk '{ sub(/([0-9]+\.?)+/, ":id", $3); | |
sub(/[0-9]+/, ":id", $3); | |
sub(/=.*&/, "=:param\\&", $3); | |
sub(/=.*$/, "=:param", $3); | |
sub(/\?[:a-z0-9]+$/, "", $3); | |
print $1, $2, $3, $4 | |
}' | sort | uniq -c | sort |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :test do | |
desc "Ensures there are no dependencies between test classes." | |
task :each => %w(each:functional each:unit each:integration) | |
namespace :each do | |
def each_test(tests) | |
# This is where the magic happens | |
ENV['TESTOPTS'] = '--verbose=progress' unless ENV['TESTOPTS'] | |
tests.each do |path| | |
puts "\n#{path}" |
NewerOlder