These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: How to report a bug?
PostPosted: Thu Aug 30, 2007 9:33 am 
Beginner
Beginner

Joined: Wed Aug 29, 2007 1:25 pm
Posts: 26
Location: Recife, PE, Brazil
Hello all,

I think I found a bug in NHibernate.

That is not easy to explain by words. It's better to build a little bit application with the issue.

How could I tell NHibernate's developers?

How that can be done?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 30, 2007 12:12 pm 
Hibernate Team
Hibernate Team

Joined: Tue Jun 13, 2006 11:29 pm
Posts: 315
Location: Calgary, Alberta, Canada
You may create a new issue in the NHibernate JIRA (http://jira.nhibernate.org/).

It would be ideal if you could create the application in the form of an NUnit test directly in the NHibernate source:
  • Assuming you are running SQL Server on your local machine, create a database named "nhibernate" on it.
  • Check out the NHibernate source from its Subversion repository (https://nhibernate.svn.sourceforge.net/ ... nhibernate)
  • Run nant to do an initial compilation -- very important
  • Open the NHibernate.Everything-2.0.sln solution
  • Add a test in the NHibernate.Test project under the NHSpecificTest folder. You may model your test by looking at some other tests that are already there.
  • Open the project properties of the NHibernate.Test project and go to the Debug tab
  • Choose Start external program and enter the path to nunit-gui.exe (or nunit.exe if you are using NUnit 2.4)
  • Enter "NHibernate.Test.dll" as the Command line arguments
  • Run or Debug the NHibernate.Test project and NUnit should automatically fires up

With this, you don't have to include any database DDL scripts; NHibernate will take care of exporting the schema during testing and clean up.

[EDIT] I forgot something: assuming you are using TortoiseSVN, you can right-click on the working directory and choose "Create Patch" to create a patch. Then you can attach the patch in the JIRA issue.

_________________
Karl Chu


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.