Closed

"Hello World" for end-to-end testing of AngularJS with Ruby on Rails

This project was awarded to LukaszSH for $250 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
$30 - $250 USD
Total Bids
4
Project Description

I have been adding a new page to my web site using AngularJS and Ruby on Rails. Rails serves the initial page, which has AngularJS and other JavaScript (code and data) embedded in it. That page then communicates with the Rails server for asynchronous updates; AngularJS framework is used to manage browser-side MVC.

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.

I already have other parts of my site working using Rails and JQuery. I have self-checking tests via both Jasmine for my other JavaScript and RSpec for my Rails code. I just haven't figured out how to make self-checking tests for the new functionality.

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

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online