Seam is developed with some might consider a more pragmatic approach
to testing. Instead of having a lot of secluded tests, the Seam
framework is exercised from a gallery of example applications. When I
first came into Seam, I thought that there were very few tests because
I wasn't looking in the examples directory. But once my attention was
drawn there, I realized that core Seam features were being validated
by test classes under each example.
The reason I say that this approach is more pragmatic is because we
can be sure that we are testing Seam from an integration level, which
is paramount given that Seam positions itself as an integration
framework. In a lot of ways, it's hard to unit test Seam because there
really isn't all that much logic going on between the integration
logic. In places where there is, we do have a collection of unit
tests, though probably not as many as should be there.
I hope that gives you a better view of the situation. Can we improve
testing? Of course we can. There is always room to improve testing.
But know that testing is certainly a part of Seam development.
On Wed, Sep 3, 2008 at 12:03 AM, Shane Bryzak <shane.bryzak(a)jboss.com> wrote:
No, it isn't.
Przemysław Szkudlarek wrote:
> Is Seam Framwork developed using Test-Driven Development? Test-Driven
> Development requires a failing test case before any changes to the
> production code. So what I mean is: did you write unit test before the
> production code?
> I've posted a similar thread in
but I didn't get any satisfying
> Best regards,
> Przemek Szkudlarek
> seam-dev mailing list
seam-dev mailing list
Software consultant | Author of Seam in Action
NOTE: While I make a strong effort to keep up with my email on a daily
basis, life and work come first and, at times, keep me away from my mail
for a while. If you contact me, then don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.