Posted 19 Oct 2012 Link to this post
<
target
name
=
"Test"
description
depends
"Build"
>
loadtasks
assembly
"C:\Program Files (x86)\Telerik\JustMock\Libraries\Telerik.JustMock.NAnt.dll"
/>
justmockstart
nunit2
formatter
type
"Xml"
usefile
"true"
extension
".xml"
outputdir
"${build.dir}"
test
assemblyname
"Tests/bin/release/Tests.dll"
appconfig
"Tests/bin/release/Tests.dll.config"
categories
exclude
"FIXME"
</
justmockstop
Assert.IsTrue(Mock.IsProfilerEnabled,
"Profile is enabled"
);
Posted 23 Oct 2012 Link to this post
Console.Error.WriteLine(
"ProcessID="
+ System.Diagnostics.Process.GetCurrentProcess().Id);
"JUSTMOCK_INSTANCE="
+ Environment.GetEnvironmentVariable(
"JUSTMOCK_INSTANCE"
));
"COR_ENABLE_PROFILING="
"COR_ENABLE_PROFILING"
"COR_PROFILER="
"COR_PROFILER"
System.Diagnostics.Debug.WriteLine(
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.