> On Tue, Aug 17, 2010 at 09:27, Frans Bouma <[email protected]> wrote:
> > On Tue, Aug 17, 2010 at 04:02, Frans Bouma <[email protected]> wrote:
> > > Since there seems to be some confusion, this is the main
test I was
> > > referring to:
> > >
> > > [Fact]
> > > public void ConfigurationIsValid()
> > > {
> > > //call the method that creates the configuration and
> builds
> the
> > session
> > > factory }
> >
> > useless. Even if this test succeeds, you have no idea
> if your
> > xml is
> > valid or not.
> >
> > If NH compiles it, it's valid. That's the only purpose of this
> test. It
> can
> > check well-formedness, schema, structure, names and semantic.
>
>
> gee, then why did I got crashing queries when I ran them, but
> the
> xml was valid? some magical ball hovering over my office, which
> influenced
> the queries at runtime?
>
> When did I claim otherwise?
with the remark that tests were sufficient which spurred this thread
;)
> > What I don't understand is that you find the 'run the
> tests
> to
> > see
> > if what I wrote is correct' is a valuable approach: it takes
> time,
> > and if
> > you screwed up during test writing, you're not going to be
> happy at
> > runtime.
> >
> > Time? It's one click away. Just like the C# compiler.
>
>
> So is a debugger, that doesn't make it the same thing.
>
> The debugger is interactive and requires a lot of time in my part, the
test
> runner, in my view, is just a build step.
apparently we build software different then. So building the
solution runs all your tests, which will take time, because you need them
because you opt for hand-write XML. You must drink a lot of coffee during
the day! ;)
> Not only that: in dynamic languages, it's THE ONLY step.
There's a reason why they code in dynamic languages results in
unmaintainable piles of mud after a while....
FB
>
> Diego
>
> --
> 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.
--
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.