diff --git a/test/spec/blackfire_shared.rb b/test/spec/blackfire_shared.rb index b4cd17eb9..a95eb7570 100644 --- a/test/spec/blackfire_shared.rb +++ b/test/spec/blackfire_shared.rb @@ -3,7 +3,7 @@ require 'ansi/core' shared_examples "A PHP application using ext-blackfire and" do |agent| - context "#{agent}" do + context "#{agent}", :focused => true do ["explicitly", "without BLACKFIRE_SERVER_TOKEN", "with default BLACKFIRE_LOG_LEVEL", "implicitly"].each do |mode| next if mode == "without BLACKFIRE_SERVER_TOKEN" and agent == "blackfireio/integration-heroku" # blackfire buildpack would error on invalid credentials context "#{mode}" do diff --git a/test/spec/composer_spec.rb b/test/spec/composer_spec.rb index 011c3d8a4..edf009bb0 100644 --- a/test/spec/composer_spec.rb +++ b/test/spec/composer_spec.rb @@ -1,7 +1,7 @@ require_relative "spec_helper" require "securerandom" -describe "A PHP application" do +describe "A PHP application", :focused => true do context "that has its stack changed", :stack => "heroku-22" do it "re-uses cached dependencies from the prior stack build" do new_app_with_stack_and_platrepo("php-getting-started").deploy do |app| diff --git a/test/spec/newrelic_spec.rb b/test/spec/newrelic_spec.rb index aca4e62fd..134b45c97 100644 --- a/test/spec/newrelic_spec.rb +++ b/test/spec/newrelic_spec.rb @@ -1,7 +1,7 @@ require_relative "spec_helper" require "securerandom" -describe "A PHP application using New Relic" do +describe "A PHP application using New Relic", :focused => true do ["explicitly", "without NEW_RELIC_LICENSE_KEY", "with default NEW_RELIC_LOG_LEVEL", "implicitly"].each do |mode| context "#{mode}" do before(:all) do diff --git a/test/spec/php_concurrency_shared.rb b/test/spec/php_concurrency_shared.rb index 4bc242a26..dd26c6521 100644 --- a/test/spec/php_concurrency_shared.rb +++ b/test/spec/php_concurrency_shared.rb @@ -3,7 +3,7 @@ shared_examples "A PHP application for testing WEB_CONCURRENCY behavior" do |series, server| - context "running PHP #{series} and the #{server} web server" do + context "running PHP #{series} and the #{server} web server", :focused => true do before(:all) do @app = new_app_with_stack_and_platrepo('test/fixtures/bootopts', before_deploy: -> { system("composer require --quiet --ignore-platform-reqs php '#{series}.*'") or raise "Failed to require PHP version" }, diff --git a/test/spec/platform_spec.rb b/test/spec/platform_spec.rb index bf9635ac2..99c047160 100644 --- a/test/spec/platform_spec.rb +++ b/test/spec/platform_spec.rb @@ -10,7 +10,7 @@ manifest_fixtures_subdir = "test/fixtures/platform/builder/manifest" mkrepo_fixtures_subdir = "test/fixtures/platform/builder/mkrepo" -describe "The PHP Platform Installer" do +describe "The PHP Platform Installer", :focused => true do describe "composer.json Generator Script" do Dir.each_child(generator_fixtures_subdir) do |testcase| it "produces the expected platform composer.json for case #{testcase}" do diff --git a/test/spec/spec_helper.rb b/test/spec/spec_helper.rb index acb4ea1d4..c99a4cbe1 100644 --- a/test/spec/spec_helper.rb +++ b/test/spec/spec_helper.rb @@ -18,8 +18,8 @@ def product_hash(hash) end RSpec.configure do |config| - config.filter_run focused: true unless ENV['IS_RUNNING_ON_CI'] - config.run_all_when_everything_filtered = true + config.filter_run focused: true # unless ENV['IS_RUNNING_ON_CI'] + config.run_all_when_everything_filtered = false config.alias_example_to :fit, focused: true config.filter_run_excluding :requires_php_on_stack => lambda { |series| !php_on_stack?(series) } config.filter_run_excluding :stack => lambda { |stack| !stack.include?(ENV['STACK']) }