P
Phlip
Brendan said:Access is an excellent development tool to use in many scenarios. But this
isn't one of them.
I bet you MVPs could do it.
(But I ain't hanging my project on that..
Brendan said:Access is an excellent development tool to use in many scenarios. But this
isn't one of them.
Brendan said:I did not say that it was impossible. But I do not believe that it is
practical.
Phlip said:Okay. Call each little manual test an "experiment". Now imagine if you
encapsulated each experiment into a test case in a test rig.
If you run that over and over again, you can run it after each _tiny_ change
to source. The test rig will perform all those experiments, over and over
again.
You are saying that it's only a little debugging so why worry about it.
The next benefit of TDD is you can change things much more aggressively. You
could, for example, refactor all your data tables, normalize them, rebalance
them, etc. If the tests still pass, the application is deliverable.
This is why I must ask sick questions here. If I word them poorly,
MVPs
might respond with the manual intervention to avoid what I was trying to
automate. TDD for databases is hard, and for GUIs is exceptionally hard.
Access is both. That's why I'm exceptional. ;-)
Tony said:That, of course, is obvious. But, in general, is pointless. You
have some code behind a form doing some data validation. It works or
not. If you ever go back and make some changes then test it again.
"Refactor your data tables, normalize and rebalance them." I have no
idea what those terms mean in the context of databases. Besides
normalizing of course.
But my systems are normalized properly from the beginning. So that's
not a concern to me.
If anyone words questions poorly we ask for clarification. And quite
often what their objective is as we can likely suggest some
alternatives.
I simply don't see the need for spending a lot of time
programmatically stuffing a form with data and then seeing if the
table has that data.
Phlip said:To write a GUI very rapidly, you neglect design considerations, and get it
working in its default configurations. Access is essentially a kit for
building GUIs linked to databases, facilitating this AntiPattern. It comes
with a ready-made design, so our code design is less important.
I seek to make this AntiPattern sustainable.
refactor - change structure while leaving behavior the same
normalize - I hear DBAs say that so I put it in the list
rebalance - tuning so transactions are brief & schemas are pretty
And when your customers change requirements, per Eric's book, you just write
a new application.
The last time it took several tries before someone "got" it.
If I say too little, I get a canned response targeting newbies and
mouse-abuse, and if I say too much we accidentally spark a TDD debate
thread.
Wash your hands before performing surgery, folks...
Ok.
Debugger-driven development gets slower and slower as a project scales. I
seek the opposite effect, where new features get easier and easier to add.
(Technically, the test cases become easier and easier to write because
test-side methods to stuff a form and such are available and polished.)
This means programming systems with wizards, designed to start a project
very fast, for me start very slow!
Tony said:Ok, I don't really know what you are saying here.
No idea where you got that from. If they change requirements you
update the system to match the new requirements. Happens all the
time. Business change, they get new clients with new data
requirements and/or they want to fine tune things.
Tony said:Well, have at it.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.