I'm about to start development on Alfresco 4.2.c using the existing Maven setup. I anticipate mostly working with Share. Furthermore, I anticipate most of development to be on javascript, both server and client side.
I'm currently looking at unit testing javascript. On client side, I've found Jasmine running PhantomJS to be good. However, I'm struggling to find and setup javascript unit testing for server side. At the moment it looks like doing a more of an end-to-end integration tests is the only feasible solution.
How has Alfresco Share done this kind of unit testing? What would you suggest a developer of new features, like me, does?