aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSean Dague2008-09-08 21:22:40 +0000
committerSean Dague2008-09-08 21:22:40 +0000
commita8123310890f5e85af8aca57feb39c52ab5f5d4d (patch)
tree3c1dd0a60ee1735ab3019d2a043518b1bc5cf2ec
parentrejigger tests out of OpenSim.Region.Environment and into OpenSim.Region.Envi... (diff)
downloadopensim-SC-a8123310890f5e85af8aca57feb39c52ab5f5d4d.zip
opensim-SC-a8123310890f5e85af8aca57feb39c52ab5f5d4d.tar.gz
opensim-SC-a8123310890f5e85af8aca57feb39c52ab5f5d4d.tar.bz2
opensim-SC-a8123310890f5e85af8aca57feb39c52ab5f5d4d.tar.xz
add a new quickstart to testing document
-rw-r--r--TESTING.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/TESTING.txt b/TESTING.txt
index 97bffe2..2dd2595 100644
--- a/TESTING.txt
+++ b/TESTING.txt
@@ -1,3 +1,47 @@
1=== The Quick Guide to OpenSim Unit Testing ===
2
3== Running Tests ==
4
5On Linux:
6
7 > nant test
8
9This will print out to the console the test state.
10
11On Windows: ??
12
13
14
15Also, every checkin will run tests that are kicked off by bamboo.
16Results are posted here: http://www.opensimulator.org:8085/ as well as
17to #opensim-dev IRC channel.
18
19== Writing Tests ==
20
21Tests are written to run under NUnit. For more information on NUnit
22please see: http://www.nunit.org/index.php
23
24== Adding Tests ==
25
26Tests should not be added to production assemblies. They should
27instead be added to assemblies of the name
28My.Production.Assembly.Tests.dll. This lets them easily be removed
29from production environments that don't want the bloat.
30
31Tests should be as close to the code as possible. It is recommended
32that if you are writing tests they end up in a "Tests" sub-directory
33of the directory where the code you are testing resides.
34
35If you have added a new test assembly that hasn't existed before you
36must list it in both ".nant/local.include" and ".nant/bamboo.build"
37for it to be accessible to Linux users and to the continuous
38integration system.
39
40
41=== The Gory Details ===
42The following is the original document which started off this
43document. It should probably be better integrated with the new info.
44
1==UPDATE== 45==UPDATE==
2 46
3The text immediately following is an update to the testing documentation. The 47The text immediately following is an update to the testing documentation. The