This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Incam_SGD/ktwebservice/nunit
2010-09-10 16:45:26 +00:00
..
authentication.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_add.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_checkout.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_contents.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_copy.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_detail.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_download.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_history.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_links.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_metadata.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_move.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_oem_no.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_owner.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_rename.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_system_metadata.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_type.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
document_workflow.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
folder.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
helper.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
inventory.txt Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
makefile Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
query.cs Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00
README Importación inicial con versión 3.7.0.2 original 2010-09-10 16:45:26 +00:00

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