Closed ograycode closed 11 years ago
@hothead2 hmm not sure I know of a good testing framework that works well with PG?
I looked into it, and I can't find much in the way of unit testing PG. Perhaps with something like selenium, but I haven't found much of anything.
Hey there, I just started looking at this this morning. How about Jasmine?
I still think we should do this...
I think we should do unit testing on the application, if for nothing else than peace of mind -- especially since we greatly loosened the commit requirements. However, I don't have much expertise in this area of javascript land. I know there are several available, but not sure which would be best. I would like to be able to test the DOM as well as the logic.
Jasmine seems to have an extension for DOM testing. Does anyone have any suggestions?
I'm cool with whatever so long as you can test functions with DOM manipulation because otherwise a large proportion of the js will not be testable.
I think we should have the discussion of unit testing. Are we going to strive for 100%, non-html and css, unit tested code? Should it be part of a pull request requirement? If so, what frameworks will we be using? I'm not that involved in Javascript, or iOS development, so I don't know what is available. I know Android has a unit testing framework already.