|
From: Steve M. <Ste...@ty...> - 2007-11-08 21:49:33
|
Our customer requires us to 'certify' that any third party tool we use 'works correctly'. The unit tests in NMock2 are sufficient for that proof, if and only if, NUnit is 'certified' in the same way. We've done the work to satisfy the customer that MbUnit functions for our purposes, but not for NUnit. We're trying to avoid that pain, so I'm putting MbUnit in the place of NUnit for our internal NMock2 build. It's irrelevant to people outside my company for the exact point of your question, but I posted it in case anyone cared. It's convoluted and doesn't always make sense, however, in the case of MbUnit the verification team came across a defect that was already existing in the MbUnit queue, but I'd forgotten about. We had at least one test case that was giving a false positive. I'm working on getting them to use the MbUnit test suite from the directory and add tests to that suite so we can return the tests and fixes for MbUnit in the same way I'm working NMock2. There's large sections of our codebase that can't even touch .NET because Microsoft could deliver a high enough guarantee with respect to the performance of the JIT, so verification is a very big deal for us. -----Original Message----- From: nmo...@li... [mailto:nmo...@li...] On Behalf Of Nat Pryce Sent: Thursday, November 08, 2007 3:24 PM To: NMock2 Development Discussion Subject: Re: [NMock2-Dev] NUnit vs. MbUnit I'm confused. Why does it matter to NMock 2 *users* what test framework is used by the NMock 2 *developers*? --Nat On 08/11/2007, Steve Mitcham <Ste...@ty...> wrote: > I wasn't really thinking along those lines. We've been using NMock2 > with MbUnit. The big issue for them is the NUnit framework being used > in NMock2.AcceptanceTests and NMock2.Tests projects. They need to prove > that the tools do what they say they do. The unit tests do that for > NMock2, but now they need to certify that NUnit does what it says it > does. They've already done enough of the work on MbUnit, which is our > normal testing framework, so they want to change the unit tests here to > be MbUnit so they don't have to check out Nunits functionality. > > -----Original Message----- > From: nmo...@li... > [mailto:nmo...@li...] On Behalf Of Nat > Pryce > Sent: Thursday, November 08, 2007 3:09 PM > To: NMock2 Development Discussion > Subject: Re: [NMock2-Dev] NUnit vs. MbUnit > > JMock 2 has had to address this issue to support JUnit 3, 4 and TestNG. > > We introduced an ExceptionTranslator that is plugged into the Mockery > to translate internal ExpectationExceptions into whatever exception is > used by the test framework. Then we provide "plugin" packages for > each test framework to plug jMock 2 into that framework by providing a > Mockery subclass that sets the appropriate exception translator. E.g. > a JUnit3Mockery for JUnit 3, a JUnit4Mockery for JUnit 4, etc. > > The same approach could work for NMock 2. > > --Nat > > On 08/11/2007, Steve Mitcham <Ste...@ty...> wrote: > > I really don't want to maintain two branches, the only real > difference > > is the reference and the 'using' statement for now. So I'll probably > > just post the changes to my blog and leave the actual code tree alone. > > > > -----Original Message----- > > From: nmo...@li... > > [mailto:nmo...@li...] On Behalf Of > > aci...@ac... > > Sent: Thursday, November 08, 2007 2:25 PM > > To: NMock2 Development Discussion > > Subject: Re: [NMock2-Dev] NUnit vs. MbUnit > > > > > > > > > > While I am of the mind of 'if it isn't broken, don't fix it', I have > > to > > > do the work anyway, so... > > > > > > > > > > > > Would anyone be interested in the move to MbUnit or should I just > keep > > > it internal. > > > > > > > Personally I wouldn't use it, but depending on difficulty maybe we > could > > create a branch/derivation of NMock that uses MbUnit, possibly > > developing > > in parallel contributing code and ideas between the two. In this case > I > > think more options make for a better user base and more ideas of how > to > > make NMock2 better. > > > > -Richard Holden > > > > > > > ------------------------------------------------------------------------ > > - > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > NMock-two-dev mailing list > > NMo...@li... > > https://lists.sourceforge.net/lists/listinfo/nmock-two-dev > > > > > ------------------------------------------------------------------------ > - > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > NMock-two-dev mailing list > > NMo...@li... > > https://lists.sourceforge.net/lists/listinfo/nmock-two-dev > > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > NMock-two-dev mailing list > NMo...@li... > https://lists.sourceforge.net/lists/listinfo/nmock-two-dev > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > NMock-two-dev mailing list > NMo...@li... > https://lists.sourceforge.net/lists/listinfo/nmock-two-dev > ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ NMock-two-dev mailing list NMo...@li... https://lists.sourceforge.net/lists/listinfo/nmock-two-dev |