fluent-nhibernate icon indicating copy to clipboard operation
fluent-nhibernate copied to clipboard

A desperate need for an end-to-end tests

Open chester89 opened this issue 12 years ago • 3 comments

After reading about bugs and other issues here and on the mailing list, I see that it's common when the problem, being fixed in one version, comes back two versions later to bite developers in the ass. So I'd like to propose that we have integration tests - that means going all the way from configuring the mapping to creating ISessionFactory/ISession and doing some basic operations. I think this can grant us at least two things - a) bugs won't come back, or at least, these situations will pop up with less frequency b) we'll be able to pin point the problems when upgrading to future versions of NH Any thoughts? Of course such goal can't be accomplished in a month, that's a long term investment. What's more interesting about it - I think we can even turn some current unit-tests into integration tests by adding code to [TestFixtureTearDown] method.

chester89 avatar Sep 13 '12 14:09 chester89

I agree this is a good long-term goal. My team is just getting started with FNH, so likely will not be able to help very soon, but we do want to eventually contribute.

dlwiii avatar Sep 13 '12 14:09 dlwiii

i also would like to contribute, but since my time is very limited ATM it would be nice to have some checklist what to test first

firo222 avatar Dec 06 '12 04:12 firo222

I agree. I'll think about where to start on this, cause it's rather ambitious task

chester89 avatar Dec 06 '12 12:12 chester89