In our organisation we have used .Net Memory Profiler and found it worked excellent and very helpful. Now we are planning to use it for Unit Test Automation process to check for memory leaks.We are suing VS 2008 and MS Unit test for this.
I started with the sample unit test application and found that "MemProfiler.IsProfiling" is returning false. I tried with the VS 2008 command prompt and "noisloation" arguement but still the result is the same (MemProfiler.IsProfiling is false) - D:\>mstest /noisolation /testcontainer:D:\Work\LeakTest\TestProject1\bin\Debug\TestProject1.dll - Is this right way to do?
I have also attached my source files. I have added the referece of "C:\Program Files\SciTech\NetMemProfiler3\Redist\MemProfiler2.dll"
Reading at some of your posts at this forum i am bit puzzled whether we can go with VS2008 and MSTest for Automation Process. Could you please let us know we can achive automation process with these?
- My test project.
- (7.09 KiB) Downloaded 350 times
"c:\Program files\SciTech\NetMemProfiler3\NetMemProfilerConsole.exe" /prj d:\work\LeakTest\LeakTest.prj
SciTech Software AB
Users browsing this forum: No registered users and 13 guests