diff --git a/Spring.build b/Spring.build index caa0c6f0..7b5dd05c 100644 --- a/Spring.build +++ b/Spring.build @@ -19,10 +19,17 @@ Main build targets: Build properties that may be set: ================================= "project.build.sign": + values: bool: true|false signs all assemblies. Requires the key file $/Spring.Net.snk to be in place + "package.version": + values: string: a 3-part number xx.xx.xx set the package version +"test.integration.data": + values: bool: true|false + set this to true to run integration tests + Additional Remarks: =================== @@ -32,8 +39,21 @@ Additional Remarks: *) Building Spring.Testing.Microsoft if you want to build Spring.Testing.Microsoft (MSTest Support), you need to have VS MSTest support installed (mstest.exe) -Examples: -========= + +Running Integration Tests: +========================== + +*) Database Integration Tests +- you need to have an MSSQL 2005 Server instance installed and configured an alias "SPRINGQA" for this instance +- create a login "springqa" with password "springqa" and assign the 'db_sysadmin' role + +on the commandline enable the "test.integration.data" flag, e.g.: + nant test -f:spring.build -D:test.integration.data=true + + + +Commandline Examples: +===================== *) to build the distribution package, copy the key file into $/Spring.Net.snk and execute nant clean package -f:spring.build -D:project.build.sign=true -D:package.version=1.3.0 @@ -427,7 +447,7 @@ Examples: + if="${build-data and nant.settings.currentframework == 'net-3.5'}"/> @@ -1463,6 +1483,7 @@ Examples: + @@ -1499,6 +1520,7 @@ Examples: + diff --git a/test/Spring/Spring.Data.NHibernate20.Integration.Tests/Spring.Data.NHibernate20.Integration.Tests.build b/test/Spring/Spring.Data.NHibernate20.Integration.Tests/Spring.Data.NHibernate20.Integration.Tests.build index 4993c1d5..6626a5a4 100644 --- a/test/Spring/Spring.Data.NHibernate20.Integration.Tests/Spring.Data.NHibernate20.Integration.Tests.build +++ b/test/Spring/Spring.Data.NHibernate20.Integration.Tests/Spring.Data.NHibernate20.Integration.Tests.build @@ -1,5 +1,8 @@ + + + + + + + + + + + - - + + + + - - - - - - - - - - - - - - + + + + + + + + - - - + + + + + + + - + diff --git a/test/Spring/Spring.Data.NHibernate21.Integration.Tests/Spring.Data.NHibernate21.Integration.Tests.build b/test/Spring/Spring.Data.NHibernate21.Integration.Tests/Spring.Data.NHibernate21.Integration.Tests.build index 778f2d93..11d2f446 100644 --- a/test/Spring/Spring.Data.NHibernate21.Integration.Tests/Spring.Data.NHibernate21.Integration.Tests.build +++ b/test/Spring/Spring.Data.NHibernate21.Integration.Tests/Spring.Data.NHibernate21.Integration.Tests.build @@ -29,8 +29,8 @@ + - @@ -44,6 +44,10 @@ + + + + @@ -54,7 +58,7 @@ - +