I have a web application that I want to
test(I know, I put TDD junkies to shame, I'm working on it). It has an
AngularJS front end with a Struts2 backend. The AngularJs code communicates with the Struts2 code via REST calls. After mulling it over, I realized that whaterver happens in the backend doesn't matter as long as I recieve the proper data back from the REST calls on the frontend. Therefore, I realized that I could just use "Black Box" testing and only write the JS tests. What is your opinion of this decision?