Created
November 17, 2014 19:12
-
-
Save allcentury/cf07f5e97dd54e40deb1 to your computer and use it in GitHub Desktop.
This file contains 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
# This file allows you to override various Teaspoon configuration directives when running from the command line. It is not | |
# required from within the Rails environment, so overriding directives that have been defined within the initializer | |
# is not possible. | |
# | |
# Set RAILS_ROOT and load the environment. | |
ENV["RAILS_ROOT"] = File.expand_path("../../", __FILE__) | |
require File.expand_path("../../config/environment", __FILE__) | |
# Provide default configuration. | |
# | |
# You can override various configuration directives defined here by using arguments with the teaspoon command. | |
# | |
# teaspoon --driver=selenium --suppress-log | |
# rake teaspoon DRIVER=selenium SUPPRESS_LOG=false | |
Teaspoon.setup do |config| | |
config.suite do |suite| | |
suite.use_framework :qunit | |
suite.matcher = "{spec/javascripts,app/assets}/**/*_spec.{js,js.coffee,coffee}" | |
suit.helper = "spec_helper" | |
suite.stylesheets = ["teaspoon", "teaspoon_custom"] | |
end | |
# Driver / Server | |
#config.driver = "phantomjs" # available: phantomjs, selenium | |
#config.server = nil # defaults to Rack::Server | |
# Behaviors | |
#config.server_timeout = 20 # timeout for starting the server | |
#config.server_port = nil # defaults to any open port unless specified | |
#config.fail_fast = true # abort after the first failing suite | |
# Output | |
#config.formatters = "dot" # available: dot, tap, tap_y, swayze_or_oprah | |
#config.suppress_log = false # suppress logs coming from console[log/error/debug] | |
#config.color = true | |
# Coverage (requires istanbul -- https://github.com/gotwarlost/istanbul) | |
#config.coverage = true | |
#config.coverage_reports = "text,html,cobertura" | |
#config.coverage_output_dir = "coverage" | |
#config.statements_coverage_threshold = 50 | |
#config.functions_coverage_threshold = 50 | |
#config.branches_coverage_threshold = 50 | |
#config.lines_coverage_threshold = 50 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment