[Mono-list] [Mono-hackers-list] Connection-less tests in System.Data
Sun, 26 Jan 2003 05:54:58 -0500
I will answer my own question.
The various connection-less tests in System.Data use nunit prior to 2.0.
The various provider connection-oriented tests do not use nunit, but have
SqlTest.cs for SqlClient, PostgresTest.cs for PostgreSqlClient, MySqlTest.cs
for for MySql,
TestDB2Conn.cs for DB2Client, etc... I still need to make these tests get
the connection parameters from the command-line or use a config file.
The Tests for assembly System.Data are found at
The connection-less tests can be run in mcs/class/System.Data/Test
I assume on Linux, this would be:
make -f makefile.gnu test
If you want to add various tests to a test that already exists, such as, add
a test called
public void TestThisThing() to DataColumnTest, just add the method to the
file. NUnit will automatically call this test.
However, I would still like to know how to compile and run the tests with
.NET. This way, I know the tests for Mono are correct.
[mailto:email@example.com]On Behalf Of Daniel
Sent: Sunday, January 26, 2003 12:15 AM
To: Ville; Nick D; Mono Hackers mailing list
Subject: [Mono-hackers-list] Connection-less tests in System.Data
Hello NickD and Ville,
I have no idea what the status of the connection-less tests that use NUnit
I haven't tried running them. However, just by looking at the tests seems
like they don't work.
I could be wrong.
Should we be trying to use NUnit 2.0 now, or is the old NUnit fine?
Do the NUnit tests in System.Data work for you? How do you get them to
work on .NET and then later get them to work on Mono? This is very
important because my tests for Mono are based on how they work for .NET. My
tests now just need to be converted to NUnit.
I have some tests for the DataRow class which affects other classes too,
such as, DataTable, DataRowCollection, DataColumnCollection, and DataColumn.
Any comments are welcomed.
Mono-hackers-list maillist - Monofirstname.lastname@example.org