I am new to Unit testing but totally understand the benefits of it and want to start dong it more often.
I currently have a project that is already developed and id like to add tests to it.
It uses the revelaing module pattern with most of the methods as private is this a problem for testing?
Would i need to make them public or use one public method to call the private ones?

How do you choose what to test?
I assume that if it is a simple ajax call then you can test the responce etc but what if it is code for an accordion, what would you test then?

I appreciate any advice