Re: Fwd: Addin SetUp question

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.devel
Message-ID <00b501c87eed$2a3da0d0$6401a8c0@ferrari>
Hi Kelly, 

> >  I think I do... Extensions are outside of NUnit in one sense,  but 
> > part of it in another.
> 
> What I'm trying to get across here is that there are (at 
> least) two APIs that people typically deal with in 
> programming with NUnit. The first of these is the API you use 
> when writing tests (Assert and the like). The second is used 
> when you are extending NUnit. My simple suggestion is merely 
> that we keep these two APIs as independent and self contained 
> as possible so that when you are involving yourself in one or 
> the other of these activities, it is very clear where to go 
> for documentation, support, etc.

They are absolutely separate - so much so in my mind that I was
a bit confused when you brought up the test-writers interface.
So yes, they will be kept entirely independent.
 
> I haven't been trying to make any deeper point than that, and 
> I realize that you're probably already doing this. I just 
> wanted to make the point that we should continue to keep them 
> cleanly separated in 3.0.

OK... FWIW, the entire nunit.framework is separate from the
rest of NUnit, in the sense that neither of them even references
the other one. So it would be pretty hard to mix them up.
 
> I do mean designing what the extension points will be. The 
> trick in creating good extension APIs is IMHO to be as 
> absolutely generic and simple as possible. Make no 
> assumptions that don't need to be made until they absolutely 
> have to be made. The difficult part is getting different 
> kinds of extensions to play nice with each other in ways that 
> you may not be able to fully predict, like the recent issues 
> relating to data-driven tests and assumptions about what were 
> lists of tests, and what were single tests.
> 
> I'm sorry if I'm being Captain Obvious on this thread.

Probably not so obvious to everyone - good points.

Charlie
 
> -Kelly
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Microsoft Defy all 
> challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> nunit-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nunit-developer
> 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.