A big part of AngularJS is how it is supposed to be easy to test, is ideal for test-driven development, etc. I like to have self-checking tests for every feature I implement. But, I've been stumbling on how to make this work with my AngularJS code. It's making me feel pretty stupid.
This project has two parts:
1) Download and get running the example Rails/AngularJS "Seed" project: [url removed, login to view] This includes getting the self-checking tests built into that project to run.
2) Once you understand how it the self-checking test mechanism is supposed to work, you will help me add 1 self-checking "end to end" test, of 1 simple feature, of my AngularJS page, in my project. We can do this either by screen-sharing and fixing my project together, or by your taking my project and adding the test, then showing me what you did. The test will do the following:
a) "go" to my home page, log in,
b) "go" to my new AngularJS page
c) "click" on a link (which causes a round-trip communication with the server),
d) Verify that the page has changed accordingly. That is, clicking on the link executes a search on the server and displays it the results on the page.
I can demonstrate that these steps work when done manually -- I want to be able to do them as part of my self-checking test suite. You have to do both parts, obviously, to get paid for this project!
Thanks in advance! -Mark