Sha256: 94e33320c60fbf2e8f3754f82773d2d7d3c9169788ce98d0779530bb88361d4a

Contents?: true

Size: 822 Bytes

Versions: 12

Compression:

Stored size: 822 Bytes

Contents

require 'spec_helper'

class XunitRunnerTester
	@solution = "spec/TestProj/TestProj.sln"
	@assemblies = ["spec/TestProj/TestProj/bin/Debug/TestProj.exe"]
	@test_runner = 'xunit191'
	#@runner_exe = 'xunit.console.exe' # will be selected by default
	include PrePush
end

class XunitRunnerTesterClr2
	@solution = "spec/TestProj/TestProj2/TestProj.sln"
	# XUnit on clr2 takes the dll path only, won't work with csproj.
	@assemblies = ["spec/TestProj/TestProj2/bin/Debug/TestProj.dll"]
	@test_runner = 'xunit191'
	include PrePush
end

describe "XunitRunner" do
	it "should compile and run tests" do
		XunitRunnerTester.run
	end
end

describe "on clr 2" do
	before do
		ReplaceClr.between('v3.5', 'v2.0', 'TestProj2')
	end
	it "should compile and run tests" do
		XunitRunnerTesterClr2.run
	end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pre_push-1.1.2.1 spec/xunit_integration_spec.rb
pre_push-1.1.2 spec/xunit_integration_spec.rb
pre_push-1.1.1 spec/xunit_integration_spec.rb
pre_push-1.1.0 spec/xunit_integration_spec.rb
pre_push-1.0.1 spec/xunit_integration_spec.rb
pre_push-1.0.0 spec/xunit_integration_spec.rb
pre_push-0.0.7 spec/xunit_integration_spec.rb
pre_push-0.0.6 spec/xunit_integration_spec.rb
pre_push-0.0.5 spec/xunit_integration_spec.rb
pre_push-0.0.4 spec/xunit_integration_spec.rb
pre_push-0.0.3 spec/xunit_integration_spec.rb
pre_push-0.0.2 spec/xunit_integration_spec.rb