This project is read-only.

Unit Tests

Nov 28, 2009 at 9:11 PM


Do you have any unit tests available?



Nov 29, 2009 at 8:43 AM

By the time we developed the framework the only unit test that we had where project specific (using the datamodel of one of your projects) so we can't check in it in codeplex.

Now, in our current version we have a decent amount of unit tests, (125 queries  for the linq provider and going up) in Signum.Test.dll agains an 'artificial' datamodel with Albums, Songs, Artists that has many ot the fifferent pieces that offers signum framework (Reference, Lazy references, MList, Enums, ImplementedBy, ImplementedByAll...).

We will upload this for Signum Framework 2.0.

Sorry for the lack of checkins. Signum is very alive in our TFS but the lack of using multiple tfs in a single solution makes it hard to keep Codeplex updated: Someone has a solution?




Nov 29, 2009 at 4:51 PM

> We will upload this for Signum Framework 2.0.

Sounds good. Thanks. If you want outside developers to join the development, I think unit tests will be a necessary part of the code base to ensure that your intent and semantics are maintained.

> lack of using multiple tfs in a single solution...

I know it's much easier to have all projects in a single solution, but if you can't associate your open source projects with CodePlex, then you might want to just have a separate solution that contains those projects and use CodePlex as the only source control repository. This will work better with outside developers as checkins and merges will happen more often with a single, shared source control.

Also, your team will be a 'user' of the open source framework (and its associated DLLs) just like outside developers. That will probably enforce a certain discipline to the development of the framework, for example, ensuring that you don't create breaking changes.

Best regards,