|
Post by grävling on Dec 16, 2011 4:11:11 GMT -5
I took some jobs to collect parcels from locations in the Streets from our favourite rodent. But after I picked them up my computer says that I took the job from the Connector at 'Old Car Dealership' and 'All Nites Coffin Hotel'. Wrong. That's where I took the packages from, but should I ever need to cancel those jobs, it's Vinny the Rat I should cancel them with. I just phoned him, and he doesn't have a way for me to cancel them now, either.
|
|
|
Post by Cory Trese on Dec 16, 2011 12:51:15 GMT -5
Odd. That is a regression defect as it was once all working perfect.
|
|
|
Post by grävling on Dec 16, 2011 12:59:49 GMT -5
What sort of test suite do you have for this?
|
|
|
Post by Cory Trese on Dec 16, 2011 13:05:13 GMT -5
A couple thousand JUnit tests, an automated game playing robot and a variety of other regression check systems when DEBUG is on.
|
|
|
Post by grävling on Dec 16, 2011 13:25:00 GMT -5
Then it is really odd that this one shows up again. Guess you _aren't_ doing test driven development, then.
|
|
|
Post by Cory Trese on Dec 16, 2011 13:44:30 GMT -5
Funny.
Who knows what I'm doing on CK. No government audits, no compliance requirements, no code reviews and a 3-day release cycle. It's a wild wild west.
TDD is exactly what we're doing but anyone who tells you that it promises automatic No Broken Windows and a 0% regression rate has had too much Canonical koolaid. =)
And besides, UI driven tests in an unfriendly to-UI-testing OS like Android -- especially against a shifting requirements set -- makes a high code coverage metric very difficult to achieve.
Question: How would you write a unit test, given Android OS XML Layout Inflates, that validated the bug in question (even skipping the Resources / I18N complexities here?)
I thought about it myself for a few weeks but never found a workable solution.
|
|
|
Post by Cory Trese on Dec 16, 2011 13:48:29 GMT -5
The correct answer is, of course, stop doing Android Game development and create a testing-friendly UI helper like the ones we have for .NET
|
|
|
Post by Cory Trese on Dec 16, 2011 13:52:22 GMT -5
fixed
|
|
|
Post by grävling on Dec 16, 2011 14:24:08 GMT -5
Funny. Who knows what I'm doing on CK. No government audits, no compliance requirements, no code reviews and a 3-day release cycle. It's a wild wild west. Sounds good to me. Given that I am sitting on a bunch of windows errors for PyPy right now, despite hundreds of thousands of unittests, I would have to agree. I don't know, but I think we are going to have to come up with something for our own product. Oddly things seem _better_ with android than they were with J2ME.
|
|