From 54d84cbb77a7fbc6359eda4eb40cc7da29c426e1 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Mon, 8 Jun 2015 14:53:26 +0200 Subject: use our runner (`bin/test`) for framework components. This adds a script `bin/test` to most Rails framework components. The script uses the rails minitest plugin to augment the runner. See https://github.com/rails/rails/pull/19571 for details about the plugin. I did not yet add `bin/test` for activerecord, activejob and railties. These components rely on specific setup performed in the rake-tasks. --- activesupport/bin/test | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 activesupport/bin/test (limited to 'activesupport/bin/test') diff --git a/activesupport/bin/test b/activesupport/bin/test new file mode 100755 index 0000000000..2827e79217 --- /dev/null +++ b/activesupport/bin/test @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +COMPONENT_ROOT = File.expand_path("../../", __FILE__) +require File.expand_path("../tools/test", COMPONENT_ROOT) -- cgit v1.2.3 From 9946788775437513c3489b7d7b2b01fcda62d5fb Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Thu, 11 Jun 2015 14:24:56 +0200 Subject: select the AR adapter through `bin/test`. --- activesupport/bin/test | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/bin/test') diff --git a/activesupport/bin/test b/activesupport/bin/test index 2827e79217..404cabba51 100755 --- a/activesupport/bin/test +++ b/activesupport/bin/test @@ -1,3 +1,4 @@ #!/usr/bin/env ruby COMPONENT_ROOT = File.expand_path("../../", __FILE__) require File.expand_path("../tools/test", COMPONENT_ROOT) +exit Minitest.run(ARGV) -- cgit v1.2.3