mgonto / restangular

AngularJS service to handle Rest API Restful Resources properly and easily
MIT License
7.87k stars 840 forks source link

Testing restangular promisses #942

Open egel opened 9 years ago

egel commented 9 years ago

I read all README but found nothing about how to test restangular promisses. I also search across the web to find some good examples of testing, but there are so many different examples (different approaches) which are actually confused me much more.

In the README there are many useful examples how to start dealing with restangular, but how to tests created methods was omitted (or I missed it some way while reading).

I think it is really worth it to include to README.md some examples How to write sample tests using restangular. Why do that? - Because the people who maintain this great project has relevant experience and knowledge to point good practices with testing methods using restangular.

What do you think this idea?

raphaelluchini commented 9 years ago

+1

grabbou commented 9 years ago

Thank you guys for this idea. We will try to write something with @mgonto really soon.

daviesgeek commented 8 years ago

Sounds like a good idea. Anyone willing to take a crack at this?

razvanilin commented 8 years ago

+1