4 ms·
I would think twice before showcasing the fact that you dont have any tests for your (formerly) commercial code
by codenerdz 15y ago
I would think twice before showcasing the fact that you dont have any tests for your (formerly) commercial code
- jjcm 15y agoAt 99c though, do you expect the software that you're purchasing to be bug free? For apps that I've done I've skipped a lot of formal testing. I know the user base will be small enough to not mind the occasional bug, and if the apps do become popular then I'll invest the time to add some.
- codenerdz 15y agoIm a primarily a web developer and unit testing is much easier in modern web frameworks than it is in Objective C or Android's VM for that matter, but Im a firm believer that if you have no test coverage whatsoever in your code it shows how important code quality is to you as a developer. Again, unit testing on mobile platforms is not as easy as doing it in ROR or Javascript nowadays, but there are still frameworks that simplify it tremendously, particularly those from Pivotal Labs.
- hkolek 15y agoI'm not so sure that a comprehensive test coverage is beneficial for a product like a game which is not really maintained over a long time period. Imo the biggest benefit of unit tests is for catching regressions, but a game you get working once and then you're done. Especially for smaller casual games I don't think that it's necessarily worth the effort to write comprehensive tests. Also, as Dijkstra already said, testing is inadequate. It can only show the presence of bugs, never their absence, so even if you have 100% test coverage it really says nothing about the quality of your code or how much you care about it.
- codenerdz 15y agoOn a similar topic, what do mobile developers here use for unit and functional testing on iOS and Android?
- demallien 15y agoFor iOS, since the release of Xcode 4.0, the built in unit testing capabilities of SenTestKit have proven to be adequate for me. Before Xcode 4.0, the configuration required to get unit tests up and running and debuggable was quite painful, but it is now as simple as choosing to add a unit test target to your project...
- daeken 15y agoReal automated testing in games is rare and never even close to comprehensive. Honestly, I'm amazed when I see game codebases that do have substantial tests.