Sha256: 580bf6f96e98b889e836999d8733ca5270b750a9bd7137c0e068bb45b9520734

Contents?: true

Size: 518 Bytes

Versions: 5

Compression:

Stored size: 518 Bytes

Contents

# run unit tests for the NewRelic Agent
namespace :test do
  AGENT_HOME = File.expand_path(File.join(File.dirname(__FILE__), "..",".."))
  Rake::TestTask.new(:agent) do |t|
    t.libs << "#{AGENT_HOME}/test"
    t.libs << "#{AGENT_HOME}/lib"
    t.pattern = "#{AGENT_HOME}/test/**/tc_*.rb"
    t.verbose = true
  end
  Rake::Task['test:agent'].comment = "Run the unit tests for the Agent"

  Rake::TestTask.new(:all => ["test", "test:agent"])
  Rake::Task['test:all'].comment = "Run all tests including agent code"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
newrelic_rpm-2.8.0 lib/tasks/agent_tests.rake
newrelic_rpm-2.8.1 lib/tasks/agent_tests.rake
newrelic_rpm-2.8.2 lib/tasks/agent_tests.rake
newrelic_rpm-2.8.3 lib/tasks/agent_tests.rake
newrelic_rpm-2.8.4 lib/tasks/agent_tests.rake