Re: reason for error status of an addin?
"Charlie Poole" <[email protected]> Tue, 8 Jul 2008 10:07:33 -0700
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <004301c8e11d$1ee38eb0$6401a8c0@ferrari> |
Hi William, > Thanks for the advice. > I looked for but couldn't find the nant script you mentioned. > Could you please point me to it? http://nunit.org/?p=addins Based on my own experience and other folks' reports, most errors in loading addins seem to be caused by referencing a different build of nunit.core or nunit.core.interfaces when building the addin from the one used when loading it. This is clearly a problem we need to solve. > Hopefully using the nant script resolved my problem, and when > we start using nunit 2.5 we get the iterative test built in.... Give the alpha-3 a try: a temporary copy till I can get it on soureforge is here: http://nunit.org/downloads/NUnit-2.5.0.8189.msi > But it would be nice to see some better handling of addin errors. > A simple 'Error' status doesn't really tell me anything I > didn't know; the tests didn't show up in the GUI so I knew > something had failed. I haven't focused on this because we plan to redo the addin architecture on the basis of mono.addins for 3.0, but you're right - a simple error message would help a lot. > Perhaps some nunit logging? Or windows event log even? There was once log4net logging. However, it caused a problem with tests of applications that used a different version of log4net and was removed. The same would likely be true of nlog. > I was hoping there was an nunit log file that I hadn't been > able to find... is there? Currently, there is some trace output, which goes to a file in the root of C:\ by default - see the config file. You should also be able to see console trace output if you use the /console option on the gui. As usual with open source, the existence of these problems is related to the fact that I don't experience them. That's because I use a debug version of NUnit for my testing. Of course, it should be easier for others as well. :-( BTW, use of the Windows event log would be a bit of a problem, since it would require having separate builds for Windows, Mac, Linux, etc. Currently we only have separate builds per CLR version. Charlie > Thanks again > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of Charlie Poole > Sent: Monday, July 07, 2008 9:40 PM > To: [email protected] > Subject: Re: [Nunit-users] reason for error status of an addin? > > If you need to use it with NUnit 2.4.7, I suggest making use > of the nant script I put on the web site. Because it is set > up to use the same copy of NUnit for building that you plan > to use for running it, it cuts down on errors. > > Charlie > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On > Behalf Of Kelly > > Anderson > > Sent: Monday, July 07, 2008 5:58 PM > > To: William Boatin; [email protected] > > Subject: Re: [Nunit-users] reason for error status of an addin? > > > > Hi William, > > > > I'm not sure the specific issue you're dealing with, but my > > recommendation if you can would be to switch to the NUnit > 2.5 beta 2 > > which has the functionality that you are looking for built > in. It is > > available on the web site. That's what I've done. I think > beta 3 will > > be up very soon, and you might want to wait for that if you can, as > > some things have changed. > > > > If you have to stick with 2.4.7 for some reason, maybe > someone else > > will have a better suggestion on finding more about the error. > > > > -Kelly > > > > On Mon, Jul 7, 2008 at 6:43 AM, William Boatin > > <[email protected]> wrote: > > > Hi all, > > > > > > I have built the source code for the iterative test > > extension(written > > > by Kelly Anderson) against nunit 2.4.7. > > > > > > I am having difficulty getting the extension to be > > recognized by the > > > nunit GUI. > > > > > > All I see in the GUI, in the Tools\AddIns. menu, under > > status, is 'Error'. > > > What does this mean? Why the error? Where can I get more > > info on why > > > this extension errored? > > > > > > Thanks! > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > --- Sponsored by: SourceForge.net Community Choice > Awards: VOTE NOW! > > > Studies have shown that voting for your favorite open > > source project, > > > along with a healthy diet, reduces your potential for > > chronic lameness > > > and boredom. Vote Now at > http://www.sourceforge.net/community/cca08 > > > _______________________________________________ > > > Nunit-users mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/nunit-users > > > > > > > > > > -------------------------------------------------------------- > > ----------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open > source project, > > along with a healthy diet, reduces your potential for > chronic lameness > > and boredom. Vote Now at > > http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nunit-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/nunit-users > > > > > > -------------------------------------------------------------- > ----------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source > project, along with a healthy diet, reduces your potential > for chronic lameness and boredom. Vote Now at > http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nunit-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nunit-users > > -------------------------------------------------------------- > ----------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source > project, along with a healthy diet, reduces your potential > for chronic lameness and boredom. Vote Now at > http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nunit-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nunit-users > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08