rubyx/test/rubyx/test_stats.rb
Torsten Rüger 41eccb9382 Removing preloads from mains tests
Instead of loading all preload for all tests, adding just those functions that are needed for each. Should reduce test times.

Also renaming tests to give some indication of difficulty. Alas they are not run in that order.
2019-09-24 22:05:38 +03:00

16 lines
409 B
Ruby

require_relative "helper"
require "rubyx/rubyxc"
module RubyX
class TestRubyXCliStats < MiniTest::Test
def test_stats
out, err = capture_io {RubyXC.start(["stats" ,
"--integers=50","--messages=50", "test/mains/source/00_one-call__8.rb"])}
assert out.include?("Space") , out
assert out.include?("Total") , out
assert out.include?("Objects=") , out
end
end
end