Hi All,
I heard that Delphi 2005 contains such a tool, but is dosen't help me :( and
I evaluated testDriven.net before, but I couldn't find such a feature that
can generate the test case skeleton for a given mehtod, classes or
namesapce, tell me if If I was missing somehting.
in fact, I searched the Internet with keywork "generate test case" with
google, but I didn't find any tool that is help indeed.
anyway, after posting this message, I've started working by myself on a tool
that can do this for me, it's not finished, but for example, for method
public void Update(PortInfo myPort) {...}
it can already generate the code like bellow:
namespace Adex.InterBaseDAL.Test {
using System;
using Adex.InterBaseDAL;
using Adex.Model;
public class TestPort {
private void TestUpdate() {
Port __Port = new Port();
PortInfo __myPort = new PortInfo();
__PortInfo.port_code = "port_code";
__PortInfo.port_name = "port_name";
__PortInfo.country_code = "country_code";
__PortInfo.us_code = "us_code";
__Port.Update(__myPort);
}
}
}
the generated source:
1. imports all necessary namespaces
2. assign values for memebers of parameters of object ( i don't know the
one included in delphi 2005 can do this or not?)
3. assign values for all parameters of anytype
4.currently supports c#, vb.net, jscript and managed c++
5. and in my plan ,some more features are going to be implemented.
and BTW, I develope this tool with CodeDOM, and I want to support
delphi.net, can anyone tell me how to get the GeneratorProvider for
delphi.net if I don't have delphi.net installed?
and I can this tool NUnitPartner :)
"Jani J?vinen [MVP]" <ja***@removethis.dystopia.fi> ???
news:%2****************@TK2MSFTNGP10.phx.gbl ???...
Hello!
And how about Visual Studio 2005?
Yes, Visual Studio 2005 does support unit testing, but I wouldn't say it
is NUnit. However, please correct me if I'm wrong here, I just haven't had
enought time to test these features of VS. Rather I just wanted to point
out a tool (Delphi) that I know for sure supports NUnit.
Then again, on further investigation I found that there's also a tool
called TestDriven.NET which appears to be free:
http://www.testdriven.net/Default.aspx?tabid=41
This is probably something that Edwin was after. Remember that there could
be many more such tools, this is on one of them.
--
Regards,
Mr. Jani J?vinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/