Mike Clark<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0974514039/ref=jranch-20" target="_blank" rel="nofollow">Pragmatic Project Automation</a>
Originally posted by Ernest Friedman-Hill:
We "ship" the application tests for one internal software product. Although the users rarely use them, it's very convenient when one of us is called to a user's desk to diagnose a problem. If they've got the app, they've got the application tests, and these can often find installation and configuration problems for us.
Mike Clark<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0974514039/ref=jranch-20" target="_blank" rel="nofollow">Pragmatic Project Automation</a>
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Mike Clark<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0974514039/ref=jranch-20" target="_blank" rel="nofollow">Pragmatic Project Automation</a>
Would folks here find value in having self tests
Originally posted by Mike Clark:
Interesting. Would you say that "shipping" the tests has been valuable? In general, what kinds of problems have you seen the tests find?
May I ask why or in what scenarios you think consumer-run tests aren't feasible? Certainly not all products are suitable for such self-diagnostics but there's so many examples of working -- and useful -- applications of the concept that I'm having hard time seeing your point.Originally posted by Bear Bibeault:
For the general public, I'm not so sure that consumer-run testing is feasible. Now, having the tests handy on the remote system upon which the software is installed so that a help desk tech can have the end consumer run the tests, is a different story.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
May I ask why or in what scenarios you think consumer-run tests aren't feasible?
That's actually what I've been thinking all along -- instead of trying to squeeze out meaningful replies from the consumer in trouble, the help desk can say "double-click that icon to run some diagnostics and read the results out loud for me".Originally posted by Bear Bibeault:
They have a hard enough time figuring out how to run simple programs. Running and interpreting test results is far beyond their ken. But as I said, having the tests available so that they could run them under the direction of help desk personnel (or tech-savvy neighbors) who would do the result interpretation would be very handy.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Lasse Koskela:
That's actually what I've been thinking all along -- instead of trying to squeeze out meaningful replies from the consumer in trouble, the help desk can say "double-click that icon to run some diagnostics and read the results out loud for me".
Mike Clark<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0974514039/ref=jranch-20" target="_blank" rel="nofollow">Pragmatic Project Automation</a>
Originally posted by Ernest Friedman-Hill:
It's a lot easier to make these distinctions from the tests because they're mostly shell scripts and can do things that aren't so easy to do in Java (like looking at environment variables.)
Mike Clark<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0974514039/ref=jranch-20" target="_blank" rel="nofollow">Pragmatic Project Automation</a>
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Originally posted by Jeanne Boyarsky:
What would be cool would be an ant script that sent the files (or test results) along when you clicked a button!
Mike Clark<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0974514039/ref=jranch-20" target="_blank" rel="nofollow">Pragmatic Project Automation</a>
Originally posted by Craig Demyanovich:
Have you shipped any tests with any of your software, like JDepend? If so, has anyone communicated using them to solve a problem with installation/configuration? Or, have you shipped tests only on projects on which you've consulted?
Mike Clark<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0974514039/ref=jranch-20" target="_blank" rel="nofollow">Pragmatic Project Automation</a>
I've got no option but to sell you all for scientific experiments. Or a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
|