breautek commented on issue #1476:
URL:
https://github.com/apache/cordova-android/issues/1476#issuecomment-1214968413
Thanks for the suggestion, and I agree in typical projects the 2 conventions
you listed is good practice to follow, but I also think it also depends on the
project or nature of the project.
By a parallel package structure, I presumably think you mean that there is a
test file for every java class, following a similar package hierarchy pattern.
In Cordova's case we have two broader issues:
1. Cordova itself has limited unit testing to begin with
2. Cordova classes aren't very testable by themselves.
So what we have instead if unit tests of a more broad nature that tests
behaviour/features which uses a broad range of systems that all work together.
I'm sure this can be improved but this is more of a general maintenance kind of
thing. We use issues to track bug reports and this doesn't seem to be that.
Nonetheless, PRs are still welcome and would be the best way to suggestions
reviewed in more detail.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]