git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_SGD/tags/3.7.0.2_original@1 eb19766c-00d9-a042-a3a0-45cb8ec72764 |
||
|---|---|---|
| .. | ||
| authentication.cs | ||
| document_add.cs | ||
| document_checkout.cs | ||
| document_contents.cs | ||
| document_copy.cs | ||
| document_detail.cs | ||
| document_download.cs | ||
| document_history.cs | ||
| document_links.cs | ||
| document_metadata.cs | ||
| document_move.cs | ||
| document_oem_no.cs | ||
| document_owner.cs | ||
| document_rename.cs | ||
| document_system_metadata.cs | ||
| document_type.cs | ||
| document_workflow.cs | ||
| folder.cs | ||
| helper.cs | ||
| inventory.txt | ||
| makefile | ||
| query.cs | ||
| README | ||
GENERAL ------- This folder includes the Nunit unit tests to unit test web services. REQUIREMENTS ------------ The unit tests were written for NUnit. NUnit 2.2.0 was used during development. This framework was developed in Linux using Mono. DATABASE -------- Review helper.cs to see the configuration settings. UnixODBC is used. Sample config files: # odbc.ini [ktdms] Driver = myodbcdriver Description = MySQL ODBC 2.50 Driver DSN SERVER = localhost PORT = Socket = /tmp/mysql.sock USER = root Password = Database = ktdms OPTION = 3 # odbcinst.ini [myodbcdriver] Description = MySQL ODBC 2.50 Driver DSN Driver = /usr/lib64/unixODBC/libmyodbc3.so The document type 'NewType' must be added to the database for the document_type.cs unit test to run. RUNNING THE TESTS ----------------- Edit the makefile to ensure that the WSDL_URL is directed to the correct location. A makefile is provided which can be used as follows: - make // will build and run the tests - make clean // will remove all temporary and binary files STATE ----- The states of the tests is very alpha. Some of the tests are quite complicated, so we can probably split them. REFERENCES ---------- For more information: http://nunit.org/ http://www.mono-project.com/ http://www.unixodbc.org