I have this target inside my build file
<
target
name
=
"Test"
description
=
"Test"
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
name
=
"FIXME"
/>
</
categories
>
</
test
>
</
nunit2
>
<
justmockstop
/>
</
target
>
1. The "loadtasks" task works fine
2. justmockstart says nothing
3. I have a test with the following assert:
And it fails, so Shouldn't the task "justmockstart" enable profiling in my tests?2. justmockstart says nothing
3. I have a test with the following assert:
Assert.IsTrue(Mock.IsProfilerEnabled,
"Profile is enabled"
);