From 5bf0aa6745db27c45c0778f9f6e9046f9ee9fb94 Mon Sep 17 00:00:00 2001 From: eileencodes <eileencodes@gmail.com> Date: Sun, 6 Nov 2016 18:55:15 -0500 Subject: Turn system testing into it's own gem and rename Renames `Rails::SystemTestCase` to `ActionSystemTest` and moves it to a gem under the Rails name. We need to name the class `ActionSystemTestCase` because the gem expects a module but tests themselves expect a class. Adds MIT-LICENSE, CHANGELOG, and README for the future. --- ci/travis.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ci/travis.rb') diff --git a/ci/travis.rb b/ci/travis.rb index c49a87d864..2958b5b0f5 100755 --- a/ci/travis.rb +++ b/ci/travis.rb @@ -24,6 +24,7 @@ class Build "av" => "actionview", "aj" => "activejob", "ac" => "actioncable", + "ast" => "actionsystemtest", "guides" => "guides" } @@ -154,7 +155,6 @@ ENV["GEM"].split(",").each do |gem| build = Build.new(gem, isolated: isolated) results[build.key] = build.run! - end end -- cgit v1.2.3 From 1a0ca84a064b07ecab798793a3d7ebe89bb6367c Mon Sep 17 00:00:00 2001 From: eileencodes <eileencodes@gmail.com> Date: Sun, 19 Feb 2017 11:50:42 -0500 Subject: Move and rename system tests * Move system tests back into Action Pack * Rename `ActionSystemTest` to `ActionDispatch::SystemTestCase` * Remove private base module and only make file for public `SystemTestCase` class, name private module `SystemTesting` * Rename `ActionSystemTestCase` to `ApplicationSystemTestCase` * Update corresponding documentation and guides * Delete old `ActionSystemTest` files --- ci/travis.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'ci/travis.rb') diff --git a/ci/travis.rb b/ci/travis.rb index 2958b5b0f5..f59ce5406a 100755 --- a/ci/travis.rb +++ b/ci/travis.rb @@ -24,7 +24,6 @@ class Build "av" => "actionview", "aj" => "activejob", "ac" => "actioncable", - "ast" => "actionsystemtest", "guides" => "guides" } -- cgit v1.2.3 From fe4a5706acb4a734acccc86a01416ed695ffbd06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= <rafaelmfranca@gmail.com> Date: Tue, 21 Feb 2017 13:41:17 -0500 Subject: Test rails-ujs in our travis matrix --- ci/travis.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ci/travis.rb') diff --git a/ci/travis.rb b/ci/travis.rb index f59ce5406a..eb2890ca70 100755 --- a/ci/travis.rb +++ b/ci/travis.rb @@ -36,8 +36,10 @@ class Build def run!(options = {}) self.options.update(options) + Dir.chdir(dir) do announce(heading) + if guides? run_bug_report_templates else @@ -69,7 +71,7 @@ class Build end tasks else - ["test", ("isolated" if isolated?), ("integration" if integration?)].compact.join(":") + ["test", ("isolated" if isolated?), ("integration" if integration?), ("ujs" if ujs?)].compact.join(":") end end @@ -92,6 +94,10 @@ class Build gem == "guides" end + def ujs? + component.split(":").last == "ujs" + end + def isolated? options[:isolated] end @@ -151,6 +157,7 @@ ENV["GEM"].split(",").each do |gem| next if gem == "ac:integration" && isolated next if gem == "aj:integration" && isolated next if gem == "guides" && isolated + next if gem == "av:ujs" && isolated build = Build.new(gem, isolated: isolated) results[build.key] = build.run! -- cgit v1.2.3 From 22deb92216d83f64fa8e948abe305309b327b33a Mon Sep 17 00:00:00 2001 From: Matthew Draper <matthew@trebex.net> Date: Thu, 23 Mar 2017 03:51:03 +1030 Subject: Skip isolated test runs on older rubies --- ci/travis.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ci/travis.rb') diff --git a/ci/travis.rb b/ci/travis.rb index eb2890ca70..bb87c8f4ad 100755 --- a/ci/travis.rb +++ b/ci/travis.rb @@ -152,6 +152,7 @@ results = {} ENV["GEM"].split(",").each do |gem| [false, true].each do |isolated| next if ENV["TRAVIS_PULL_REQUEST"] && ENV["TRAVIS_PULL_REQUEST"] != "false" && isolated + next if RUBY_VERSION < "2.4" && isolated next if gem == "railties" && isolated next if gem == "ac" && isolated next if gem == "ac:integration" && isolated -- cgit v1.2.3