Sha256: c2bffb0a764b1f56c6de3e3e817317379cbd6d5c21e28c845926bb8a0568496a
Contents?: true
Size: 661 Bytes
Versions: 6
Compression:
Stored size: 661 Bytes
Contents
require 'beaker-benchmark' require 'fileutils' # Acceptance level testing goes into files in the tests directory like this one, # Each file corresponding to a new test made up of individual testing steps test_name "measure_perf_on test" do if Dir.exist?('tmp/atop') FileUtils.rm_r('tmp/atop') end result = measure_perf_on master, 'sleep test' do on master, 'sleep 10' end assert(File.exist?("tmp/atop/#{@@session_timestamp}/ubuntu-server-1404-x64/atop_log_measure_perf_on_test_sleep_test.log")) result.log_csv assert(File.exist?("tmp/atop/#{@@session_timestamp}/ubuntu-server-1404-x64/atop_log_measure_perf_on_test_sleep_test.csv")) end
Version data entries
6 entries across 6 versions & 1 rubygems