|
|
Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: Re: Updates to NUnit 2.5 - msg#00001
List: windows.dotnet.nunit.devel
[NOTE: I'm now updating the release notes for the 2.5
release when I make these posts, so they no longer need
to be cumulative. See http://nunit.org/?p=releaseNotes&r=2.5]
Latest CVS updates:
Simone Busoli contributed an IsOrdered constraint and
assertion for use on collections.
TestFixtures may now be generic and have the specific
types to use as type arguments provided on the TestFixture
attribute. You can have multiple TestFixture attributes
on one class. See my blog for an example: http://nunit.org/blogs.
Charlie
-------------------------------------------------------------------------
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
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Updates to NUnit 2.5
Hi All,
Latest checkins include new version numbering scheme for
NUnit and generic parameterized test methods.
The NUnit 2.5 Alphas were both numbered 2.5.0.0, which could
be confusing. From now the release builds will carry a build
number in the fourth position, of the form yddd, where y is
the last digit of the year and ddd is the day number within
the year. So, if 2.5 were released today, it would be
2.5.0.8182.
Parameterized test methods can now be generic and NUnit will
provide an appropriate specialization of the method for each
set of parameters provided. This is actually of limited
utility by itself, but will be more useful in combination with
the support for generic fixtures I'm currently working on.
Charlie
> -----Original Message-----
> From: nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx
> [mailto:nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Charlie Poole
> Sent: Friday, June 27, 2008 10:42 AM
> To: nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [nunit-developer] Updates to NUnit 2.5
>
> Checked in a VS2008 build and blogged about it here:
> http://nunit.org/blogs/?p=61
>
> Charlie
>
> > -----Original Message-----
> > From: nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx
> > [mailto:nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> > Charlie Poole
> > Sent: Sunday, June 22, 2008 9:29 AM
> > To: nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> > Subject: Re: [nunit-developer] Updates to NUnit 2.5
> >
> > More updates checked into CVS. All of this will be
> documented for the
> > release, but some of you may want an early heads-up,
> especially if you
> > are working on addins.
> >
> > EXTENSIBILITY
> >
> > The ParameterProviders extension point has been renamed to
> > TestCaseProviders. The interface that extensions must
> implement is now
> > ITestCaseProvider. Here's the definition:
> >
> > public interface ITestCaseProvider
> > {
> > bool HasTestCasesFor(MethodInfo method);
> > IEnumerable GetTestCasesFor(MethodInfo method);
> > }
> >
> > This is essentially the same as the IParameterProvider interface in
> > the first two alphas.
> >
> > BUILT-IN PARAMETERIZED TESTS
> >
> > NUnit currently has two built-in providers:
> > TestCaseParameterProvider for TestCaseAttribute and
> > TestCaseFactoryProvider for FactoryAttribute.
> >
> > TestCaseParameterProvider will perform a number of conversions in
> > order to make the provided argument compatible with method call.
> >
> > TestCaseFactoryProvider can work with properties, methods
> and fields
> > that implement IEnumerable. For static cases, use of an
> array is the
> > simplest approach. Either static or instance members may be
> used. For
> > methods takin a single ValueType argument, the enumerator
> may return
> > the bare argument rather than an array with one member.
> >
> > All of the above work at load time. For dynamic test cases,
> provided
> > at the instance of executin the test and possibly varying
> from run to
> > run, I plan to add DynamicTest and DynamicTestCaseProvider.
> >
> > OTHER STUFF
> >
> > The RequiredAddinAttribute may be placed on the assembly,
> on a class
> > or on a method. If the named addin is not loaded, the test
> or suite is
> > NotRunnable and shows up as red in the Gui.
> >
> > Charlie
> >
> > > -----Original Message-----
> > > From: nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx
> > > [mailto:nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx] On
> Behalf Of
> > > Charlie Poole
> > > Sent: Monday, June 16, 2008 12:14 PM
> > > To: nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> > > Subject: [nunit-developer] Updates to NUnit 2.5
> > >
> > > Hi All,
> > >
> > > Now that I'm back home, I can properly upload a number of
> changes I
> > > made on my laptop while travelling.
> > >
> > > So far, I have made the following changes:
> > >
> > > 1. The release is now 2.5 Alpha 3.
> > >
> > > 2. I have changed DataSourceAttribute to FactoryAttribute
> > and it may
> > > now appear on a property, field or method. Any of these may
> > be either
> > > static or instance members.
> > >
> > > 3. IParameterProvider.GetParametersFor(MethodInfo method)
> > now returns
> > > IEnumerable rather than IList.
> > >
> > > 4. The Test abstract class now has default implementations
> > for several
> > > properties that were previously abstract. One of the
> > > Run() overloads has been removed.
> > >
> > > I'll post further as more changes are made.
> > >
> > > Charlie
> > >
> > >
> > >
> > >
> > > --------------------------------------------------------------
> > > -----------
> > > Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services for just
> about anything
> > > Open Source.
> > > http://sourceforge.net/services/buy/index.php
> > > _______________________________________________
> > > nunit-developer mailing list
> > > nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> > > https://lists.sourceforge.net/lists/listinfo/nunit-developer
> > >
> >
> >
> >
> > --------------------------------------------------------------
> > -----------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for just about anything
> > Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > nunit-developer mailing list
> > nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/nunit-developer
> >
>
>
>
> --------------------------------------------------------------
> -----------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for just about
> anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> nunit-developer mailing list
> nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nunit-developer
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Next Message by Date:
click to view message preview
Re: Updates to NUnit 2.5
Things have been crazy busy lately, but I'm still very interested in
2.5 and 3.0!
When do you anticipate having a third alpha of 2.5 for download rather
than the CVS?
-Kelly
On Wed, Jul 2, 2008 at 7:17 PM, Charlie Poole
<cpoole@xxxxxxxxxxxxxxxxxxx> wrote:
> [NOTE: I'm now updating the release notes for the 2.5
> release when I make these posts, so they no longer need
> to be cumulative. See http://nunit.org/?p=releaseNotes&r=2.5]
>
> Latest CVS updates:
>
> Simone Busoli contributed an IsOrdered constraint and
> assertion for use on collections.
>
> TestFixtures may now be generic and have the specific
> types to use as type arguments provided on the TestFixture
> attribute. You can have multiple TestFixture attributes
> on one class. See my blog for an example: http://nunit.org/blogs.
>
> Charlie
>
>
>
> -------------------------------------------------------------------------
> 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-developer mailing list
> nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nunit-developer
>
-------------------------------------------------------------------------
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
Previous Message by Thread:
click to view message preview
Re: Updates to NUnit 2.5
Hi All,
Latest checkins include new version numbering scheme for
NUnit and generic parameterized test methods.
The NUnit 2.5 Alphas were both numbered 2.5.0.0, which could
be confusing. From now the release builds will carry a build
number in the fourth position, of the form yddd, where y is
the last digit of the year and ddd is the day number within
the year. So, if 2.5 were released today, it would be
2.5.0.8182.
Parameterized test methods can now be generic and NUnit will
provide an appropriate specialization of the method for each
set of parameters provided. This is actually of limited
utility by itself, but will be more useful in combination with
the support for generic fixtures I'm currently working on.
Charlie
> -----Original Message-----
> From: nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx
> [mailto:nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Charlie Poole
> Sent: Friday, June 27, 2008 10:42 AM
> To: nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [nunit-developer] Updates to NUnit 2.5
>
> Checked in a VS2008 build and blogged about it here:
> http://nunit.org/blogs/?p=61
>
> Charlie
>
> > -----Original Message-----
> > From: nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx
> > [mailto:nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> > Charlie Poole
> > Sent: Sunday, June 22, 2008 9:29 AM
> > To: nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> > Subject: Re: [nunit-developer] Updates to NUnit 2.5
> >
> > More updates checked into CVS. All of this will be
> documented for the
> > release, but some of you may want an early heads-up,
> especially if you
> > are working on addins.
> >
> > EXTENSIBILITY
> >
> > The ParameterProviders extension point has been renamed to
> > TestCaseProviders. The interface that extensions must
> implement is now
> > ITestCaseProvider. Here's the definition:
> >
> > public interface ITestCaseProvider
> > {
> > bool HasTestCasesFor(MethodInfo method);
> > IEnumerable GetTestCasesFor(MethodInfo method);
> > }
> >
> > This is essentially the same as the IParameterProvider interface in
> > the first two alphas.
> >
> > BUILT-IN PARAMETERIZED TESTS
> >
> > NUnit currently has two built-in providers:
> > TestCaseParameterProvider for TestCaseAttribute and
> > TestCaseFactoryProvider for FactoryAttribute.
> >
> > TestCaseParameterProvider will perform a number of conversions in
> > order to make the provided argument compatible with method call.
> >
> > TestCaseFactoryProvider can work with properties, methods
> and fields
> > that implement IEnumerable. For static cases, use of an
> array is the
> > simplest approach. Either static or instance members may be
> used. For
> > methods takin a single ValueType argument, the enumerator
> may return
> > the bare argument rather than an array with one member.
> >
> > All of the above work at load time. For dynamic test cases,
> provided
> > at the instance of executin the test and possibly varying
> from run to
> > run, I plan to add DynamicTest and DynamicTestCaseProvider.
> >
> > OTHER STUFF
> >
> > The RequiredAddinAttribute may be placed on the assembly,
> on a class
> > or on a method. If the named addin is not loaded, the test
> or suite is
> > NotRunnable and shows up as red in the Gui.
> >
> > Charlie
> >
> > > -----Original Message-----
> > > From: nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx
> > > [mailto:nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx] On
> Behalf Of
> > > Charlie Poole
> > > Sent: Monday, June 16, 2008 12:14 PM
> > > To: nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> > > Subject: [nunit-developer] Updates to NUnit 2.5
> > >
> > > Hi All,
> > >
> > > Now that I'm back home, I can properly upload a number of
> changes I
> > > made on my laptop while travelling.
> > >
> > > So far, I have made the following changes:
> > >
> > > 1. The release is now 2.5 Alpha 3.
> > >
> > > 2. I have changed DataSourceAttribute to FactoryAttribute
> > and it may
> > > now appear on a property, field or method. Any of these may
> > be either
> > > static or instance members.
> > >
> > > 3. IParameterProvider.GetParametersFor(MethodInfo method)
> > now returns
> > > IEnumerable rather than IList.
> > >
> > > 4. The Test abstract class now has default implementations
> > for several
> > > properties that were previously abstract. One of the
> > > Run() overloads has been removed.
> > >
> > > I'll post further as more changes are made.
> > >
> > > Charlie
> > >
> > >
> > >
> > >
> > > --------------------------------------------------------------
> > > -----------
> > > Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services for just
> about anything
> > > Open Source.
> > > http://sourceforge.net/services/buy/index.php
> > > _______________________________________________
> > > nunit-developer mailing list
> > > nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> > > https://lists.sourceforge.net/lists/listinfo/nunit-developer
> > >
> >
> >
> >
> > --------------------------------------------------------------
> > -----------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for just about anything
> > Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > nunit-developer mailing list
> > nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/nunit-developer
> >
>
>
>
> --------------------------------------------------------------
> -----------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for just about
> anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> nunit-developer mailing list
> nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nunit-developer
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Next Message by Thread:
click to view message preview
Re: Updates to NUnit 2.5
Things have been crazy busy lately, but I'm still very interested in
2.5 and 3.0!
When do you anticipate having a third alpha of 2.5 for download rather
than the CVS?
-Kelly
On Wed, Jul 2, 2008 at 7:17 PM, Charlie Poole
<cpoole@xxxxxxxxxxxxxxxxxxx> wrote:
> [NOTE: I'm now updating the release notes for the 2.5
> release when I make these posts, so they no longer need
> to be cumulative. See http://nunit.org/?p=releaseNotes&r=2.5]
>
> Latest CVS updates:
>
> Simone Busoli contributed an IsOrdered constraint and
> assertion for use on collections.
>
> TestFixtures may now be generic and have the specific
> types to use as type arguments provided on the TestFixture
> attribute. You can have multiple TestFixture attributes
> on one class. See my blog for an example: http://nunit.org/blogs.
>
> Charlie
>
>
>
> -------------------------------------------------------------------------
> 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-developer mailing list
> nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nunit-developer
>
-------------------------------------------------------------------------
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
|
|