That's really my problem.  Someone on the team struggles for a while because
something is failing and they can't figure out why.  It would be much nicer
to point directly to where the problem is.

Stefan

On Tue, Nov 18, 2008 at 2:33 PM, Gustavo Ringel <[EMAIL PROTECTED]>wrote:

> Anyway if you have CRUD tests hitting the DB...every test where you forgot
> the HBM embedded resource will fail...i know you won't get a message: "Put
> the hbm as embedded resource" but at least you will know it is failing and
> it is going to be your first try to correct the test...
>
> Gustavo.
>
>
> On Wed, Nov 19, 2008 at 12:30 AM, Stefan Moser <[EMAIL PROTECTED]>wrote:
>
>> I will try the plugin, but not everyone on my team has ReSharper.  The
>> only way that I can think of detecting this is to inspect the project file,
>> but given that tests are executed from a variety of locations it makes
>> relative paths to the project file difficult.  I could list a number of
>> relative paths where the project file might be, that's the best I can come
>> up with.
>>
>> Stefan
>>
>>
>> On Tue, Nov 18, 2008 at 2:24 PM, Gustavo Ringel <[EMAIL PROTECTED]
>> > wrote:
>>
>>> If you use resharper and the nh plugin it alerts you if the hbm is not an
>>> embedded resource.
>>>
>>> You can take one of the options without mappings also (fluen interface,
>>> fabio's example in his blog)
>>>
>>> Gustavo.
>>>
>>> On Wed, Nov 19, 2008 at 12:14 AM, Stefan Moser <[EMAIL PROTECTED]>wrote:
>>>
>>>> I can't count the number of times that I've forgotten to set an hbm file
>>>> as an embedded resource.  Has anyone ever written a test to ensure that all
>>>> of the hbm files in a project are embedded resources?  Any tips on how to
>>>> write such a test?
>>>>
>>>> Stefan
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to