Update of /cvsroot/webware/Webware/MiddleKit/Tests
In directory sc8-pr-cvs1:/tmp/cvs-serv2979/Tests
Modified Files:
ReadMe.text
Log Message:
- fix the MS SQL Server connection code
- fix the DateTime test suite for MS SQL
Index: ReadMe.text
===================================================================
RCS file: /cvsroot/webware/Webware/MiddleKit/Tests/ReadMe.text,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ReadMe.text 7 Dec 2003 02:52:05 -0000 1.1
--- ReadMe.text 15 Dec 2003 04:36:31 -0000 1.2
***************
*** 11,23 ****
# end
! Then to run all tests:
! > python Test.py
!
! When developing a new adapter, it is useful to run one test at a time:
> python MKBasic
! Or a few:
> python MKBasic MKDateTime MKNone
Here is another example config file for a fresh MySQL 3.x installation on
Windows:
--- 11,24 ----
# end
! It can be useful to run one test at a time, especially when developing a
! new adapter:
> python MKBasic
! Or you can run a few:
> python MKBasic MKDateTime MKNone
+ Run all tests like this:
+ > python Test.py
+
Here is another example config file for a fresh MySQL 3.x installation on
Windows:
***************
*** 31,32 ****
--- 32,41 ----
You can see what databases are supported by looking in the MiddleKit/Run
directory. At the time I write this they are MySQL, PostgreSQL and MSSQL.
+
+ Here is a Microsoft SQL Server config using trusted authentication:
+
+ # LocalConfig.py
+ dbName = 'MSSQL'
+ storeArgs = {'dsn': 'LocalServer', 'clear_auto_commit': 0}
+ sqlCommand = r'"C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isql" -E'
+ # end
|