- Choose one of the following tracks:
- Skim/Read through the associated links
- Attempt to hook up and implement unit or feature js tests in your IdeaBox or this sample idea-bin project
- Fork this gist
- Respond with:
- Your experience implementing
- I used teaspoon mocha and attempted Jasmine. My first attempt was all successful as most of my JS was within a public folder.
- Were you successful?
- My second attempt I moved my JS files to the assets folder as best practice calls for js files to be in asset pipeline for rails apps, but yet all of the test are now breaking. This makes me belive that it is somesort of code that i am missing or possibly the order of my files have effected the code. I also attempted a straight JS test with mocha and jasmine and both failed. Testing JS is much harder then Rails. I am hoping that the new features that ES6 have offerred will help with the asset pipeline thus making testing easier
- Links to commits on Github or copy and pasted code snippits of a test
- Your experience implementing
/1602-testing-homework.markdown Secret
Last active
July 5, 2016 03:16
-
-
Save alirezaandersen/9002ceec35c87f5d95340e6f5a5a0c10 to your computer and use it in GitHub Desktop.
Testing Homework
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment