* Tagged long running tests with LongRunningAttribute.

* Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever.
* Feel free to run the unit tests as you code, and the rest before commit.
This commit is contained in:
lbsa71
2009-04-09 20:06:27 +00:00
parent 1066aa6998
commit 6af0751cc5
8 changed files with 23 additions and 16 deletions

View File

@@ -40,11 +40,12 @@ using OpenSim.Framework.Communications.Cache;
using OpenSim.Region.CoreModules.Avatar.Inventory.Archiver;
using OpenSim.Region.CoreModules.World.Archiver;
using OpenSim.Region.Framework.Scenes;
using OpenSim.Tests.Common;
using OpenSim.Tests.Common.Setup;
namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
{
[TestFixture]
[TestFixture, LongRunning]
public class InventoryArchiverTests
{
private void SaveCompleted(

View File

@@ -38,11 +38,12 @@ using OpenSim.Framework.Serialization;
using OpenSim.Region.CoreModules.World.Serialiser;
using OpenSim.Region.CoreModules.World.Terrain;
using OpenSim.Region.Framework.Scenes;
using OpenSim.Tests.Common;
using OpenSim.Tests.Common.Setup;
namespace OpenSim.Region.CoreModules.World.Archiver.Tests
{
[TestFixture]
[TestFixture, LongRunning]
public class ArchiverTests
{
private void SaveCompleted(string errorMessage)
@@ -230,7 +231,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests
/// <summary>
/// Test merging a V0.2 OpenSim Region Archive into an existing scene
/// </summary>
///[Test]
[Test]
public void TestMergeOarV0p2()
{
//XmlConfigurator.Configure();