M. Kendall McIntosh wrote:My basic problem is making my classes usable in other classes. In short I built a class to use inside JUnit testing where I can choose which browser to run the automation in, and I need to get the user choice back from that class and then continue the test using one or all of the browsers that were selected. For extra credit I haven't added a timer to this class yet that automatically selects "All of the above" after three seconds...
Campbell Ritchie wrote:Welcome again
Have you ever come across Cai Horstmann's GBC class? It allows you to use GridBag without all those incomprehensible long lines.
There is a better description of GBC in Horstmann's book. Scroll down our books pages.
Junilu Lacar wrote:M. Kendall: One of my "crusades" as a developer is to help as many fellow developers as I can get educated on the proper application of unit testing techniques and making good use of test frameworks like JUnit. If you're interested, pop in sometime at the Testing forum where I like to hang out and we can walk through some scenarios for testing whatever it is you want to test.
Testing is often seen by developers as a "tedious chore", something that they'd just as well not do if they could keep coding instead. I have found that when done properly and with the right focus, testing is an essential and critical part of the process of producing good software and it's an activity that can actually make development fun and gratifying. When you have discovered this for yourself, as many professional developers have, I hope that you too will become "test-infected". Hope to see you in the Testing forum some time.
M. Kendall McIntosh wrote:"For me testing is a lifestyle" -- so said this Florida test engineer. I'm currently working heavily in the arena of test driven development and automated testing.
M. Kendall McIntosh wrote:I would do things differently if I was attempting to win an award for beautiful code, but I needed to simplify to complete the task quickly, that worked for me, and I didn't go back to change it, and I ask for forgiveness for what I knew to be dirty code.
M. Kendall McIntosh wrote:...but I needed to simplify to complete the task quickly, that worked for me...
and I didn't go back to change it, and I ask for forgiveness for what I knew to be dirty code.
Winston Gutkowski wrote:"More haste; less speed"?