Re:Testing your app on a budget
by TeeWEE on Tuesday March 29, 2016 @11:25AM
(#11382113)
App developers tend to not write unit tests, it requires some extra setup in the beginning, but if you will be working on the app for some time, they are invaluable. Just like with any other serious engineering effort.
Re:Testing your app on a budget
by leeoniya on Tuesday March 29, 2016 @10:32AM
(#11381707)
i have found that dogfooding and acceptance tests (tracking regressions), combined with focused source commits are the most practical.
while unit tests laser in on specific problems, they are often unnecessary and with frequent commits and sensible commit messages, the causes of problems are always trackable and nearly always obvious.
git bisect helps in situations where the commit count is high (in large teams).
Re:Testing your app on a budget
by fweespee_ch on Tuesday March 29, 2016 @10:45AM
(#11381808)
I mostly agree with you. I've found unit tests shine in refactors simply because you are often refactoring for performance and/or bug extraction so the overall functionality of a given unit of code is largely identical to the previous version.
However, outside of refactoring, I've never found them to be cost effective time wise compared to other automated testing options.
Re:Testing your app on a budget
by TeeWEE on Tuesday March 29, 2016 @11:25AM
(#11382116)
Does runnable.com has a full Android environment setup? I wrote unit test and functional/ui tests for my android app, but im too lazy configuring my jenkins setup.
Some of the tests can be generic across all the apps and may not be written by each and every tech company. We intend to automate those.
while unit tests laser in on specific problems, they are often unnecessary and with frequent commits and sensible commit messages, the causes of problems are always trackable and nearly always obvious.
git bisect helps in situations where the commit count is high (in large teams).
However, outside of refactoring, I've never found them to be cost effective time wise compared to other automated testing options.
Integration tests for complicated scenarios.
Extensive dogfooding for the UI.