473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

CustomClassLoaders in .Net

Hi,

me and my team are very new to .Net and C#. We are trying to Unit-Test
some of our software components and in order to test them independantly
we would need to create a custom ClassLoader ... all I could find while
googling was that people complain that they can't get it working. Even
if I add a "-jave" to my query I don't even get a single hit :(

Can anybody give us a hint about where to start ?

Thanx in Advance.
Christofer Dutz
Nov 16 '05 #1
3 1102
Hi,

Try out NUNIT which is based on xUNIT. It is quite good...

Check out the download link given below,

http://www.nunit.org/download.html

Also, check out the article on Test Driven Development in .NET using NUNIT

http://www.codeproject.com/dotnet/tdd_in_dotnet.asp

Hope this helps...

--
Regards,
Madhu

Microsoft C# MVP | MCSD.NET
"Christofer Dutz" wrote:
Hi,

me and my team are very new to .Net and C#. We are trying to Unit-Test
some of our software components and in order to test them independantly
we would need to create a custom ClassLoader ... all I could find while
googling was that people complain that they can't get it working. Even
if I add a "-jave" to my query I don't even get a single hit :(

Can anybody give us a hint about where to start ?

Thanx in Advance.
Christofer Dutz

Nov 16 '05 #2
Hi Christofer:

As madhu suggested there is NUnit.

If you still need to find a technique for dynamically bringing types
into your unit test framework - look at the Assembly class
(Assembly.Load and Assembly.LoadFrom). These methods will load a
type's assebmly, and you could then create an instance with the
Activator class.

HTH,

--
Scott
http://www.OdeToCode.com

On Mon, 02 Aug 2004 11:59:59 +0200, Christofer Dutz <du**@c-ware.de>
wrote:
Hi,

me and my team are very new to .Net and C#. We are trying to Unit-Test
some of our software components and in order to test them independantly
we would need to create a custom ClassLoader ... all I could find while
googling was that people complain that they can't get it working. Even
if I add a "-jave" to my query I don't even get a single hit :(

Can anybody give us a hint about where to start ?

Thanx in Advance.
Christofer Dutz


Nov 16 '05 #3
We are using NUnit ... we only have problems with the classloader stuff.
Since we have to deliver our Project untill Midnight we sopped work on
this issue.

Thanks anyway ;)

Scott Allen wrote:
Hi Christofer:

As madhu suggested there is NUnit.

If you still need to find a technique for dynamically bringing types
into your unit test framework - look at the Assembly class
(Assembly.Load and Assembly.LoadFrom). These methods will load a
type's assebmly, and you could then create an instance with the
Activator class.

HTH,

--
Scott
http://www.OdeToCode.com

On Mon, 02 Aug 2004 11:59:59 +0200, Christofer Dutz <du**@c-ware.de>
wrote:

Hi,

me and my team are very new to .Net and C#. We are trying to Unit-Test
some of our software components and in order to test them independantly
we would need to create a custom ClassLoader ... all I could find while
googling was that people complain that they can't get it working. Even
if I add a "-jave" to my query I don't even get a single hit :(

Can anybody give us a hint about where to start ?

Thanx in Advance.
Christofer Dutz


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.