csUnit 2.6 released
March 28, 2009
csUnit 2.6 has been released and is available for download. For more
information please visit csUnit's website <http://www.csunit.org/2.6> .
csUnit is open-source and free.
csUnit's 38th release since 2001 contains the following changes
- csUnit is now based on .NET 3.5
- Parameterized testing moved out of experimental
- Basic support for Microsoft unit testing
- Several bug fixes.
For more details see the file changes.txt.
csUnit 2.6 has been tested in the following environments:
- Vista SP1 en + VS2005 (incl. addin)
- Vista SP1 en + VS2008 (incl. addin)
- XP SP3 en + VS2008 (incl. addin)
- XP SP3 de + VS2008 (incl. addin)
As always csUnit has been subjected to performance profiling throughout
the release cycle to ensure good performance.
csUnit is available under a the very flexible zlib/libpng license. This
means that csUnit or any portion of it can be used in any scenario,
including commercial and closed-source products without the need to
mention the origin. We would certainly appreciate if credit would be
given.
Please report bugs here
<http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380010>
and suggest features here
<http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380013> .
Thank you!
Kind regards,
Manfred.
---
Manfred Lange.
csUnit developer
Email: manfred at csunit dot org
http://www.csunit.org <http://www.csunit.org>
Blog: On .NET <http://manfredlange.blogspot.com>
Blog: On Agile Leadership <http://agileleadership.blogspot.com>
About csUnit
============
Inspired by JUnit, csUnit brings the power of unit testing to the .NET
framework.
csUnit is your key to unit testing and test-driven development using
.NET languages
such as C#, Visual Basic .NET, Visual J#, or Managed C++. Founded in
2001 csUnit
is available including source under the zlib/libpng license. For more
information
see http://www.csunit.org <http://www.csunit.org/2.6> .
[Non-text portions of this message have been removed]
Hi,
Does csunit support testing of web projects? It's working fine with console and
windows projects but I can't get it to work with web projects. Please help!
Hi threesan,
thanks for making us aware of this item.
At this stage no release of csUnit is certified for 64bit platforms.
However, we plan to make versions available in the future that also run
on 64 bit platforms.
For I'd like to ask you to log this as a feature request at SourceForge
<https://sourceforge.net/tracker/?group_id=23919&atid=380013> . Thank
you!
Kind regards,
Manfred.
---
Manfred Lange.
csUnit <http://www.csunit.org> development team
.NET <http://manfredlange.blogspot.com> blog
--- In csunit@yahoogroups.com, "santeo2000" <threesan@...> wrote:
>
> Hi.
>
> I am trying to use csUnit to test my application but it fails to start
(BadImageFormatException). The application runs ok by itself when it is
not loaded from csUnit. The machine is running 64bits Vista,
application is compiled under Visual Studio Express 2008 for solution
platform x86, and it is loading a 32bit c++ dll.
>
> I've tried to recompile csUnit to target the x86 platform but it fails
with:
>
> The command "copy
C:\Play\csUnit.Sources\csunit\csUnitCmd\bin\Debug\csUnitCmd.*
C:\Play\csUnit.Sources\csunit\csUnit4VS2005\bin\x86\Debug\" exited with
code 1.
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets 895
9 csUnit4VS2005
>
> Is it possible for you to release the application compiled to target
x86 rather than Any CPU that it is currently set to?
>
> Thanks.
>
[Non-text portions of this message have been removed]
Hi D,
please log this as an error at csUnit's bug tracker at SourceForge
<https://sourceforge.net/tracker/?group_id=23919&atid=380010> . Thank
you!
Kind regards,
Manfred.
---
csUnit <http://www.csunit.org> developer
.NET blog <http://manfredlange.blogspot.com>
--- In csunit@yahoogroups.com, Dan Webber <monkeonman@...> wrote:
>
> Hi,
>
> When I try to install csunit using the latest installer, it gives me a
1606 error (can't find network path). I think this is due to a double
slash in the path it is trying to install to.
>
> Error 1606. Could not access network location \\FS01\User
Documents$\<user>.<name>\My Documents\\Visual Studio 2005\Addins
>
> You'll notice that there is a double slash after the My Documents
bit...
>
> Any idea how I can solve this, or do I need a new msi? Any help would
be greatly appreciated!
>
> Cheers
>
> D
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]
Hi.
I am trying to use csUnit to test my application but it fails to start
(BadImageFormatException). The application runs ok by itself when it is not
loaded from csUnit. The machine is running 64bits Vista, application is
compiled under Visual Studio Express 2008 for solution platform x86, and it is
loading a 32bit c++ dll.
I've tried to recompile csUnit to target the x86 platform but it fails with:
The command "copy C:\Play\csUnit.Sources\csunit\csUnitCmd\bin\Debug\csUnitCmd.*
C:\Play\csUnit.Sources\csunit\csUnit4VS2005\bin\x86\Debug\" exited with code 1.
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets 895 9
csUnit4VS2005
Is it possible for you to release the application compiled to target x86 rather
than Any CPU that it is currently set to?
Thanks.
Hi,
I managed to implements the Parameterization Test.
However, as i'm quite new to csUnit, there are certain things that
I not sure how to go about doing it.
The Parameterization is "working" now, however as there are quite
a number of processing it had to perform, and I don't get any update
accept the assetsing counter at the lower right hand corner.
Is it possible for csUnit to display the "progress"
e.g.
[Test(Categories="File Format")]
[DataSource(typeof(FixtureWithStaticDataProvider))]
public void CheckFileFormat(string filePath) {
FileStream fs = new FileStream(filePath, FileMode.Open);
TextReader tr = new StreamReader(fs);
string text = tr.ReadToEnd();
Assert.Contains("XXX", text, "xxx start indicator not found");
Assert.Contains(@"\XXX", text, "xxx end indicator not found");
Assert.Contains("XXX1", text, "xxx1 start indicator not found");
Assert.Contains(@"\XXX1", text, "xxx1 end indicator not found");
Assert.Contains("XXX2", text, "xxx2 start indicator not found");
Assert.Contains(@"\XXX2", text, "xxx2 end indicator not found");
}
Ok. To be frank. This test is "fast" enough. 5 seconds for 70++
files.
However my next test, required it to read in quite a massive
amount of data for some signal processing. I would like if i am able
to have some update on CS screen. Just like what it show when the test
failed, such as File 70's Block 2.
File 1's Block 1 -> Signal Ok
File 1's Block 2 -> Signal Ok
..
File 1's Block 96 -> Signal Ok
..
File 70's Block 1 -> Signal Ok
File 70's Block 2 -> Signal Not Ok
..
File 70's Block 96 -> Signal Not Ok
My thinking was if I am able to create a method dynamically, I
would at least be able to create method name such as
"File1_Block1Test" ,...."File70_Block96Test". At least I would be able
to know the progress of the test. But if I able to bypass all this,
then it would be great. But if i'm able to learn some reflection
stuffs, it would be nice too. ;)
Thanks,
Boon Hui
--- In csunit@yahoogroups.com, Robert Bateman <rbatemanmi@...> wrote:
>
> Why not do a parameterized test?
>
> http://www.csunit.org/documentation/2.4/parameterizedTests.html
>
> Look for the section who's title is:
>
> Parameterization With Static Method Or Property
> I think you want to use a parameterized test using the
DataSourceAttribute capability. In your case, the DataSource returned
would be the result of your Directory.GetFiles() call...
>
> Bob
>
> --- On Sun, 2/15/09, boonhuiasd <boonhui609@...> wrote:
> From: boonhuiasd <boonhui609@...>
> Subject: [csunit] Is it possible to create dynamic test?
> To: csunit@yahoogroups.com
> Date: Sunday, February 15, 2009, 10:49 PM
>
>
>
>
>
>
>
>
>
>
>
>
> Hi all,
>
>
>
> I'm wondering whether is it possible perform this using csUnit.
>
>
>
> e.g.
>
> [SetUp]
>
> public void setUp() {
>
> filePath = Directory.GetFiles( basePath, "*_ND*");
>
> .....
>
> }
>
>
>
> [Test]
>
> public void PerformTextX( )
>
> {
>
> Assert.True( ......);
>
> }
>
>
>
> Is it possible to dynamically generate the PerformTextX so i don't
>
> have to copy and paste 100s' or more (dependig on the number of files
>
> in the folder) of the same function?
>
>
>
> Or should I just use a single PerformTest and perform a loop
>
> inside to perform all the required checks?
>
>
>
> Best Regards,
>
> Boon Hui
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Hi,
Thanks for the prompt reply. This definitely sound interesting. I
will give it a try. Thanks !!
Boon Hui ;)
--- In csunit@yahoogroups.com, Robert Bateman <rbatemanmi@...> wrote:
>
> Why not do a parameterized test?
>
> http://www.csunit.org/documentation/2.4/parameterizedTests.html
>
> Look for the section who's title is:
>
> Parameterization With Static Method Or Property
> I think you want to use a parameterized test using the
DataSourceAttribute capability. In your case, the DataSource returned
would be the result of your Directory.GetFiles() call...
>
> Bob
>
> --- On Sun, 2/15/09, boonhuiasd <boonhui609@...> wrote:
> From: boonhuiasd <boonhui609@...>
> Subject: [csunit] Is it possible to create dynamic test?
> To: csunit@yahoogroups.com
> Date: Sunday, February 15, 2009, 10:49 PM
>
>
>
>
>
>
>
>
>
>
>
>
> Hi all,
>
>
>
> I'm wondering whether is it possible perform this using csUnit.
>
>
>
> e.g.
>
> [SetUp]
>
> public void setUp() {
>
> filePath = Directory.GetFiles( basePath, "*_ND*");
>
> .....
>
> }
>
>
>
> [Test]
>
> public void PerformTextX( )
>
> {
>
> Assert.True( ......);
>
> }
>
>
>
> Is it possible to dynamically generate the PerformTextX so i don't
>
> have to copy and paste 100s' or more (dependig on the number of files
>
> in the folder) of the same function?
>
>
>
> Or should I just use a single PerformTest and perform a loop
>
> inside to perform all the required checks?
>
>
>
> Best Regards,
>
> Boon Hui
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Hi,
When I try to install csunit using the latest installer, it gives me a 1606
error (can't find network path). I think this is due to a double slash in the
path it is trying to install to.
Error 1606. Could not access network location \\FS01\User
Documents$\<user>.<name>\My Documents\\Visual Studio 2005\Addins
You'll notice that there is a double slash after the My Documents bit...
Any idea how I can solve this, or do I need a new msi? Any help would be
greatly appreciated!
Cheers
D
[Non-text portions of this message have been removed]
Why not do a parameterized test?
http://www.csunit.org/documentation/2.4/parameterizedTests.html
Look for the section who's title is:
Parameterization With Static Method Or Property
I think you want to use a parameterized test using the DataSourceAttribute
capability. In your case, the DataSource returned would be the result of your
Directory.GetFiles() call...
Bob
--- On Sun, 2/15/09, boonhuiasd <boonhui609@...> wrote:
From: boonhuiasd <boonhui609@...>
Subject: [csunit] Is it possible to create dynamic test?
To: csunit@yahoogroups.com
Date: Sunday, February 15, 2009, 10:49 PM
Hi all,
I'm wondering whether is it possible perform this using csUnit.
e.g.
[SetUp]
public void setUp() {
filePath = Directory.GetFiles( basePath, "*_ND*");
.....
}
[Test]
public void PerformTextX( )
{
Assert.True( ......);
}
Is it possible to dynamically generate the PerformTextX so i don't
have to copy and paste 100s' or more (dependig on the number of files
in the folder) of the same function?
Or should I just use a single PerformTest and perform a loop
inside to perform all the required checks?
Best Regards,
Boon Hui
[Non-text portions of this message have been removed]
Hi all,
I'm wondering whether is it possible perform this using csUnit.
e.g.
[SetUp]
public void setUp() {
filePath = Directory.GetFiles(basePath, "*_ND*");
.....
}
[Test]
public void PerformTextX()
{
Assert.True(......);
}
Is it possible to dynamically generate the PerformTextX so i don't
have to copy and paste 100s' or more (dependig on the number of files
in the folder) of the same function?
Or should I just use a single PerformTest and perform a loop
inside to perform all the required checks?
Best Regards,
Boon Hui
Hello,
I'm a new csUnit Visual Studio add-in user and I've noticed that
csUnit parameters (such the recipe file content) are reloaded only
when I close and restart Visual Studio 2008.
So, if I add a new assembly, or if an assembly is not present when the
program starts, I can't use csUnit runner.
Is there a way to force csUnit add-in to reload my solution related
recipe file content?
Regards,
Olivier.
Chris,
I noticed a "similar" problem in Visual Studio 2005. In my case, I
was getting "2" sets of tests - with one set being the "old" tests and
the second being the "revised" tests.
If you look in your project folder, there should be a recipe for
csUnit. What I did was: 1) Shut down VS. 2) Delete the recipe. 3)
Reopen VS. 4) open csUnit and test.
In my case, when csUnit reopened, it refreshed the tests to be
performed and built a new recipe. When I tested, the new recipe was
used and everything worked.
Hope this helps!
Bob
--- In csunit@yahoogroups.com, "Chris" <garsrtn@...> wrote:
>
> I am a new user of csUnit, and seem to be missing something...
>
> My problem is the tests are not being displayed in the 'Tests' tab of
> the csUnit view within Visual Studio.
>
> I've (re)installed the csUnit (2.5), and am using VS 2008 Team. I've
> constructed a test solution which includes the application project and
> the test project. The class is mared with the TestFixture attribute,
> and the test method is marked with the Test attribute.
>
> Thanks in advance for any help.
>
I am a new user of csUnit, and seem to be missing something...
My problem is the tests are not being displayed in the 'Tests' tab of
the csUnit view within Visual Studio.
I've (re)installed the csUnit (2.5), and am using VS 2008 Team. I've
constructed a test solution which includes the application project and
the test project. The class is mared with the TestFixture attribute,
and the test method is marked with the Test attribute.
Thanks in advance for any help.
Good Morning!
I'm attempting to use the Parameterized testing facility with some VB
code I've been assigned to write and use.
I've created my test harness and created a simple test:
<TestFixture()> _
Public Class MyTestClass1
<Test()> _
Public Sub PerformTest1()
[ some code.... ]
End Sub
End Class
Currently, PerformTest1() calls the same internal method - but passes
different values in. What I want to do is to pass my values into
PerformTest1() and simplify my code.
I've looked at the documentation for Parameterized Tests and altered
my code to look like:
Public Sub PerformTest1( ByVal iVal1 as Integer )
My problem comes in when I attempt to add the <DataRow( 1 )> _ after
my test decorator in the code. I'm getting errors in the compile
indicating that type DataRow is not defined.
The IntelliSense is showing me <Test()> but not <DataRow>...
Any ideas???
Bob
--- In csunit@yahoogroups.com, mohammed qaisi <mdqaisi@...> wrote:
>
> Hi every body,
>
> I am very happy to enter and to be a member of this group, I am
Mohammed Qaisi, Software Test Engineer. I am responsible for testing
some .Net projects like C# project, i was wondering how to do the
automation test including the unit testing and the GUI testing,
>
> Can you guys help me in this, I started to use the CSUnit, now i
want to test the GUI so i was wondering if any one knows a good
testing tools.
>
> Thanks in advance,
>
> Mohammed,
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
hi Mohammed,
i am Duyen. i am studying for testing .Net project (C# project)
that is a simple project only (unit testing).
i am glad to meet you.
Hi every body,
I am very happy to enter and to be a member of this group, I am Mohammed Qaisi,
Software Test Engineer. I am responsible for testing some .Net projects like C#
project, i was wondering how to do the automation test including the unit
testing and the GUI testing,
Can you guys help me in this, I started to use the CSUnit, now i want to test
the GUI so i was wondering if any one knows a good testing tools.
Thanks in advance,
Mohammed,
[Non-text portions of this message have been removed]
I use "Build and Debug Test".
but it is only run and appear MS Dos
"C:\program files\csunit.org\csunit 2.5\csUnitCmd.exe"
but i can not run step by step for my code.
what do i do to run step by step?
Please, help me.
I am preparing the lecture notes for my course.
csUnit is the unit testing tool chosen.
a code coverage tool is still needed. Simple, (Conceptual?), and free
is the best.
Who would like to give me such a choice?
at the same time, I am heavily googling.
csUnit 2.5 has been released and is available for download at
http://www.csunit.org/download. csUnit is open-source and free.
csUnit's 37th release since 2001 contains 10 changes
- 5 usability related changes
- 3 quality related changes
- 2 functionality related changes
For more details see the file changes.txt.
Recent major new features:
- Added in csUnit 2.5:
- Assert.Contains<T>(T expected, IEnumerable<T> toBeSearched) added
- ExpectedException can also be declared with specific instances
- Was type only
- Added in csUnit 2.4:
- Search function in test hiearchy
- Support for NUnit without recompilation subject to the following
limitations
- Supported for NUnit 2.4.7 (.NET 2.0 version)
- Supported attributes
- TestFixtureAttribute
- TestAttribute
- SetUpAttribute
- TearDownAttribute
- IgnoreAttribute
- ExpectedExceptionAttribute
- Addin for Visual Studio 2008
csUnit 2.5 has been tested in the following environments:
- Vista SP1 en + VS2005
- Vista SP1 en + VS2008
- XP SP3 en + VS2008
- XP SP3 de + VS2008
As always csUnit has been subjected to performance profiling
throughout the release cycle to ensure good performance.
Parameterized testing is still in the Experimental namespace. It is
expected to be moved out of it in a future release. For more
information please see http://www.csunit.org.
csUnit is available under a the very flexible zlib/libpng license.
This means that csUnit or any portion of it can be used in any
scenario, including commercial and closed-source products without the
need to mention the origin. We would certainly appreciate if credit
would be given.
Please report bugs at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380010
Please suggest features at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380013
Thank you!
Kind regards,
Manfred.
---
Manfred Lange.
csUnit developer
Email: manfred at csunit dot org
http://www.csunit.org
Blog: http://manfredlange.blogspot.com (on .NET)
Blog: http://agileleadership.blogspot.com (on Agile Leadership)
About csUnit
============
Inspired by JUnit, csUnit brings the power of unit testing to
the .NET framework. csUnit is your key to unit testing and test-
driven development using .NET languages such as C#, Visual
Basic .NET, Visual J#, or Managed C++. csUnit was founded in 2001 and
is available including source under the zlib/libpng license. For more
information see http://www.csunit.org.
csUnit 2.4 released
===================
May 06, 2008
csUnit 2.4 has been released and is available for download at
http://www.csunit.org/download. csUnit is open-source and free.
This is a release contains new features and bug fixes.
Major new features:
- Search function in test hiearchy
- Support for NUnit without recompilation subject to the following
limitations
- Supported for NUnit 2.4.7 (.NET 2.0 version)
- Supported attributes
- TestFixtureAttribute
- TestAttribute
- SetUpAttribute
- TearDownAttribute
- IgnoreAttribute
- ExpectedExceptionAttribute
- Addin for Visual Studio 2008 (it already had an addin for VS 2005)
This release has been tested in the following environments:
- Vista (32bit) + VS 2008 + .NET 2.0
- Vista (32bit) + VS 2008 + .NET 3.0
- Vista (32bit) + VS 2008 + .NET 3.5
- Vista (32bit) + VS 2005 + .NET 2.0
- XP SP2 + VS 2005 + .NET 2.0
As always we also subjected csUnit to performance profiling
throughout the release cycle to ensure good performance.
Parameterized testing is still in the Experimental namespace. It is
expected to be moved out of it in a future release. For more
information please see http://www.csunit.org.
Starting with this release we have switched to an even more flexible
pure zlib/libpng license. This means that csUnit or any portion of it
can be used in any scenario, including commercial and closed-source
products without the need to mention the origin. We would certainly
appreciate if credit would be given.
Please report bugs at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380010
Please suggest features at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380013
Thank you!
Kind regards,
Manfred.
---
Manfred Lange.
csUnit developer
Email: manfred at csunit dot org
http://www.csunit.org
About csUnit
============
Inspired by JUnit, csUnit brings the power of unit testing to
the .NET framework. csUnit is your key to unit testing and test-
driven development using .NET languages such as C#, Visual
Basic .NET, Visual J#, or Managed C++. csUnit was founded in 2001 and
is available including source under the zlib/libpng license. For more
information see http://www.csunit.org.
csUnit 2.3 released
===================
March 24, 2008
csUnit 2.3 has been released and is available for download at
http://www.csunit.org/download. csUnit is open-source and free.
This is a release containing a number of bug fixes. No new feature
has been added.
This release has been tested in the following environments (all
english):
- Visual Studio 2005 with .NET 2.0 on Vista Ultimate (32 bit)
- Visual Studio 2005 with .NET 2.0 on Windows XP SP2
- Stand alone testing application with .NET 3.0 on Vista Ultimate (32
bit)
- Stand alone testing application with .NET 3.5 on Vista Ultimate (32
bit)
Note that applications written in VS2008 targeting .NET 2.0, .NET
3.0, and .NET 3.5 can be tested with csUnit.
This release contains an addin for VS2005. An addin for VS2008 is
being considered for a future release.
Parameterized testing is still in the Experimental namespace. It is
expected to be moved out of it in a future release. For more
information please see http://www.csunit.org.
Please report any bug at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380010
Please suggest features at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380013
Thank you!
Kind regards,
Manfred.
---
Manfred Lange.
csUnit developer
Email: manfred at csunit dot org
http://www.csunit.org
About csUnit
============
Inspired by JUnit, csUnit brings the power of unit testing to
the .NET framework. csUnit is your key to unit testing and test-
driven development using .NET languages such as C#, Visual
Basic .NET, Visual J#, or Managed C++. csUnit was founded in 2001 and
is available including source under a modified zlib/libpng license.
For more information see http://www.csunit.org.
csUnit 2.2 released
===================
July 03, 2007
csUnit 2.1 has been released and is available for download at
http://www.csunit.org/download. csUnit is open-source and free.
This release has been compiled and tested with .NET 2.0 and Visual
Studio 2005. It also contains an addin for Visual Studio 2005
(VS2005).
The majority of the effort went into support for parameterized tests.
Parameter values can come from other class instances, XML files, and
ADO.NET datasources. For more information please see
http://www.csunit.org.
Please report any bug at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380010
Please suggest features at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380013
Thank you!
Kind regards,
Manfred.
---
Manfred Lange.
csUnit programmer
Email: manfred at csunit dot org
http://www.csunit.org
About csUnit
============
Inspired by JUnit, csUnit brings the power of unit testing to
the .NET framework. csUnit is your key to unit testing and test-
driven development using .NET languages such as C#, Visual
Basic .NET, Visual J#, or Managed C++. csUnit was founded in 2001 and
is available including source under a modified zlib/libpng license.
For more information see http://www.csunit.org.
Hi Edward,
Generally speaking: Yes, you also can debug applications. As this
might indicate a bug I would like to ask you to enter the defect plus
all additional information, e.g. version of csUnit, Visual Studio,
etc. at
http://sourceforge.net/tracker/?group_id=23919&atid=380010
We use the SourceForge bug tracker as the default tool for defects.
It easy and free to set up an account. Thank you!
Kind regards,
Manfred.
---
Manfred Lange.
csUnit programmer
--- In csunit@yahoogroups.com, "Edward Ellis" <edward.ellis@...>
wrote:
>
> I am having trouble using csUnit in an application project. If the
> project is a library project I can debug the tests just fine. If
the
> project is an application, I can't debug the tests under any
> circumstances. Is this just the way things are, or am I doing
> something wrong?
>
I am having trouble using csUnit in an application project. If the
project is a library project I can debug the tests just fine. If the
project is an application, I can't debug the tests under any
circumstances. Is this just the way things are, or am I doing
something wrong?
Hi all!
Thank you for using csUnit! We would like to make sure that csUnit
continues to provide the valuable experience you expect from an
engineering tool.
Part of csUnit is also how news, bugs, feature requests, and other
items are communicated. This monthly email gives the general guidelines.
Please report any bug at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380010
Please suggest features at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380013
For all other items either post it here or use the "Open Discussion" at
http://sourceforge.net/forum/forum.php?forum_id=75665
In addition and as an alternative you can reach me at manfred at
csunit dot org. All csUnit related email will be answered!
Thank you for your support and feedback. We appreciate all of it!
Happy testing!
Kind regards,
Manfred.
---
Manfred Lange.
csUnit Lead Developer
csUnit 2.1.2 released
=====================
csUnit 2.1.2 has been released and is available for download at
http//www.csunit.org/download. csUnit is open-source.
This release has been compiled and tested with .NET 2.0. It also
contains an addin for Visual Studio 2005 (VS2005).
The majority of the effort went into the following three areas:
1.) Performance: We focused on reducing the overhead. The test suite
for csUnit itself runs on a decent notebook at a rate of 6,000 tests
per minute. Generally speaking we have reduced the overhead by
approximately 50% compared to previous versions.
2.) Usability: We introduced support for multiple categories for tests
and test fixtures. This feature is inspired by TestNG's group feature.
As a consequence we introduced the concept of a selector. We have
selectors now for categories, check marks (graphical UI only), and
regular expressions (command line only).
3.) Quality: We increased the number of tests from 180 to over 350
with a special emphasis on the commandline.
Except for one minor optical issue for the VS2005 addin, this version
has no known bug as of the time of release.
Please report any bug at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380010
Please suggest features at
http://sourceforge.net/tracker/?func=add&group_id=23919&atid=380013
Thank you!
About csUnit
============
Inspired by JUnit, csUnit brings the power of unit testing to the .NET
framework. csUnit is your key to unit testing and test-driven
development using .NET languages such as C#, Visual Basic .NET, Visual
J#, or Managed C++. csUnit was founded in 2001 and is available
including source under a modified zlib/libpng license. For more
information see http://www.csunit.org.
Kind regards,
Manfred.
---
Manfred Lange.
csUnit lead developer
Email: manfred at csunit dot org
http://www.csunit.org
---
Bugs:
According to the SF trackers we are now down to 8 bugs, two of them
are sufficiently critical enough that they have to be fixed before a
new release can go out. These two bugs are:
SF1677584 "Cannot explicitly exclude categories for test run": Here we
need to extend the UI and the underlying logic so that it becomes
possible to explicitly state which categories should be excluded. The
resulting logic would then be that a test is run if it Included and
Not Excluded at the same time. The third state for a category can then
be "Don't Care" which means it will not be run if not included, but it
doesn't have to explicitly excluded. Note that all category settings
will be stored in the recipe, and the command line will read and apply
those settings as well.
We are currently working on this as not fixing it would mean that we
would remove existing functionality. In this case we don't want to do
that.
SF1680425 "Test hierarchy doesn't report location of failed
assertion": Just reporting a failed test is not sufficient. Each user
would like to have sufficient information about where it failed. This
bug, too, must be fixed before the next release.
---
New Features:
The next release will see an additional feature: the TestAttribute
will support an additional optional named parameter for a Timeout.
Here a user can specify the timeout in milliseconds and if the test
doesn't finish within that time, it will be reported as failed.
---
Timeline:
It all depends on how fast we can get the two above mentioned bugs
fixed. We are still shooting for March 31, but it has to go very well.
Thank you to all the people who provide feedback for your support!
Kind regards,
Manfred.
---
Manfred Lange.
csUnit team member
http://www.csunit.org
For the command line version of csUnit currently the two options
supported are testCategory and fixtureCategory.
The questions I have are:
1) Can you provide with with examples of how you use the command line
with these options?
2) Also, if there was a possibility to improve these options, what
would your suggestion be?
Currently we plan to make these two options obsolete and replace them
by a single "categories" option. In a first step the only way to use
it is to specify one or more categories which must be matched by
either the test, or in absence on the test level, the category of the
fixture.
I'd like to invite you to share your thoughts. Thank you!
Kind regards,
Manfred.
---
Manfred Lange.
csUnit developer