Unit Tests for 2.1.4

Unit Tests for 2.1.4

Old forum URL: forums.lhotka.net/forums/t/2710.aspx


Jason@Draftech posted on Monday, April 16, 2007

Has anyone else performed these tests? I get the following:

------ Test started: Assembly: Csla.Test.dll ------

TestCase 'Csla.Test.ValidationRules.PerTypeTests.NoDoubleInit'
failed: Rules should init just once
expected:
but was:
D:\ProView\Csla20Test\Csla.Test\ValidationRules\HasPerTypeRules.cs(62,0): at Csla.Test.ValidationRules.PerTypeTests.NoDoubleInit()


154 passed, 1 failed, 0 skipped, took 3.60 seconds.


Thanks,
Jason Perry
Draftech, Inc.

Jason@Draftech replied on Wednesday, April 18, 2007

So this is normal?

RockfordLhotka replied on Wednesday, April 18, 2007

No, they should pass. But I'm full-time with a client most of this week and don't have time to check it (nor do I have a 2.1.4 dev environment anymore - I'm well into 3.0...).

Obviously there's either a bug in the test or in CSLA, and that's bad.

Jason@Draftech replied on Wednesday, April 18, 2007

Well, I admit to having very little experience with this framework so far. Once familiar, I'll do my best to investigate the issue and post my findings.

3.0... is there another book in the works as well?

Regards ~ Jason

RockfordLhotka replied on Wednesday, April 18, 2007

I don't know for sure what I'm going to do for .NET 3.0/3.5.

Certainly I'm working on CSLA .NET 3.0 now, with an eye toward having it available this summer.

But .NET 3.5 and perhaps more importantly Visual Studio codename "Orcas" is due out this fall, and that includes real designer support for .NET 3.0.

So it is quite realistic to consider writing a "real" book (probably through Apress) - something like "Expert C#/VB ___ Business Objects", where "____" is whatever Microsoft officially calls the new Visual Studio (2007? 2008? something else?).

On the other hand, the CSLA .NET Version 2.1 Handbook has been reasonably successful in terms of selling enough to make it worth my time and effort. So writing a 3.0 Handbook is also a possibility.

I am in discussions with Apress about the one option, and am considering the other. But it will be some time before I make a final decision one way or the other.

Copyright (c) Marimer LLC