Sha256: 3383cca58d5f7ef069cb40dfff499485ee4adf3ba6499986c802c6c5926efeec
Contents?: true
Size: 640 Bytes
Versions: 3
Compression:
Stored size: 640 Bytes
Contents
require_relative './test_xml_generator' class TestXmlXTapPublisher < Test::Unit::TestCase def test_postbuild_tap_publisher builder = JenkinsJob::Builder.new builder.freestyle 'foo' do postbuild do publish_tap 'TestResultsInTapFormat.tap' do verbose true require_plan true end end end actual = builder.config_as_xml_node('foo') { 'testResults' => 'TestResultsInTapFormat.tap', 'verbose' => 'true', 'require_plan' => 'true' }.each do |k, v| assert v, actual.xpath("./project/publishers/org.tap4j.plugin.TapPublisher/#{k}").text end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubyjobbuilderdsl-0.0.8 | test/test_tap_publisher.rb |
rubyjobbuilderdsl-0.0.6 | test/test_tap_publisher.rb |
rubyjobbuilderdsl-0.0.4 | test/test_tap_publisher.rb |