Developing a site using one of the numerous Ruby Web frameworks does not help in automating the tests for the client-side code (Javascript code). How is it possible to test that code? How to automate such tests?
Testing user interactivity is pretty hard to automate not to say that it coulld be a waste of time…
If the Javascript code contains complex algorithms that can be refactored so that they do not need to play with buttons, input fields or to change the DOM, next approach can be used: automate the Javascript tests from Ruby.
Read the full entry at http://alef1.org/articles/2015/test_javascript_from_ruby_01_technique.html.
No comments:
Post a Comment