Skip to content

Instantly share code, notes, and snippets.

@Andrew8xx8
Created December 10, 2012 09:06
Show Gist options
  • Select an option

  • Save Andrew8xx8/4249514 to your computer and use it in GitHub Desktop.

Select an option

Save Andrew8xx8/4249514 to your computer and use it in GitHub Desktop.
My TConsole config for Rails application (~/.tconsole)
TConsole::Config.run do |config|
config.include_paths = ["./test", "./lib"]
config.file_sets = {
"all" => [
"./test/unit/**/*_test.rb",
"./test/functional/**/*_test.rb",
"./test/integration/**/*_test.rb",
"./test/lib/*_test.rb",
"./test/lib/**/*_test.rb"
],
"lib" => ["./test/lib/*_test.rb", "./test/lib/**/*_test.rb"],
"units" => ["./test/unit/**/*_test.rb"],
"unit" => ["./test/unit/**/*_test.rb"],
"functionals" => ["./test/functional/**/*_test.rb"],
"functional" => ["./test/functional/**/*_test.rb"],
"integration" => ["./test/integration/**/*_test.rb"]
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment