aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/TESTING.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--TESTING.txt (renamed from bin/TESTING.txt)46
1 files changed, 23 insertions, 23 deletions
diff --git a/bin/TESTING.txt b/TESTING.txt
index d1d5088..1a3b1dc 100644
--- a/bin/TESTING.txt
+++ b/TESTING.txt
@@ -1,24 +1,24 @@
1==TESTING== 1==TESTING==
2To use nunit testing on opensim code, you have a variety of methods. The easiast methods involve using IDE capabilities to test code. Using VS2005/2008 I recommend using the testing capabilities of Resarper(commercial) or TestDriven.Net(free). Both will recognize nunit tests within your application and allow you to test them individually, or all at once, etc. You will also be able to step into debug mode into a test through these add-ins enabling a developer to jump right in and see how a specific test-case/scenerio works. 2To use nunit testing on opensim code, you have a variety of methods. The easiast methods involve using IDE capabilities to test code. Using VS2005/2008 I recommend using the testing capabilities of Resarper(commercial) or TestDriven.Net(free). Both will recognize nunit tests within your application and allow you to test them individually, or all at once, etc. You will also be able to step into debug mode into a test through these add-ins enabling a developer to jump right in and see how a specific test-case/scenerio works.
3 3
4Additionally, it is my understanding that sharpdevelop and monodevelop have their own nunit testing plugins within their IDE. Though I am not certain of their exact feature set or stability. 4Additionally, it is my understanding that sharpdevelop and monodevelop have their own nunit testing plugins within their IDE. Though I am not certain of their exact feature set or stability.
5 5
6== Using NUnit Directly == 6== Using NUnit Directly ==
7The NUnit project is a very mature testing application. It can be obtained from www.nunit.org are via various package distrobutions for Linux. Please be sure to get a .Net 2.0 version of Nunit, as OpenSim makes use of .Net 2.0 functionality. 7The NUnit project is a very mature testing application. It can be obtained from www.nunit.org are via various package distrobutions for Linux. Please be sure to get a .Net 2.0 version of Nunit, as OpenSim makes use of .Net 2.0 functionality.
8 8
9Nunit comes with 2 tools that will enable you to run tests from assembly inputs. Nunit-gui and nunit-console. NUnit-gui is a console that will let you view the execution of various tests within your assemblies and give visual indication of teir success or failure. This is a useful tool for those who lack IDE addins ( or lack IDEs at all ). 9Nunit comes with 2 tools that will enable you to run tests from assembly inputs. Nunit-gui and nunit-console. NUnit-gui is a console that will let you view the execution of various tests within your assemblies and give visual indication of teir success or failure. This is a useful tool for those who lack IDE addins ( or lack IDEs at all ).
10 10
11Nunit console allows you to execute the nunit tests of assemblies via console. Its output will show test failures and successes and a summary of what happened. This is very useful for a quick overview and/or automated testing. 11Nunit console allows you to execute the nunit tests of assemblies via console. Its output will show test failures and successes and a summary of what happened. This is very useful for a quick overview and/or automated testing.
12 12
13Windows 13Windows
14Windows version of nunit-console is by default .Net 2.0 if you downloaded the .Net 2.0 version of Nunit. Be sure to setup your PATH environment variable. 14Windows version of nunit-console is by default .Net 2.0 if you downloaded the .Net 2.0 version of Nunit. Be sure to setup your PATH environment variable.
15 15
16Linux & OSX 16Linux & OSX
17On these operating systems you will have to use the command "nunit-console2" 17On these operating systems you will have to use the command "nunit-console2"
18 18
19Example 19Example
20 20
21nunit-console2 OpenSim.Framework.Tests.dll (on linux) 21nunit-console2 OpenSim.Framework.Tests.dll (on linux)
22nunit-console OpenSim.Framework.Tests.dll (on windows) 22nunit-console OpenSim.Framework.Tests.dll (on windows)
23 23
24For more information on testing contact the autor of this testing readme: Daedius Moskvitch ( daedius @@@@ daedius com) \ No newline at end of file 24For more information on testing contact the autor of this testing readme: Daedius Moskvitch ( daedius @@@@ daedius com) \ No newline at end of file