1 / 15

Automated tests on Drupal

Automated tests on Drupal. Ran Bar-Zik/ 09 10, 2014 . Ran Bar-Zik Software Developer at HP Software R&D Working at HP Live Network project – based on Drupal. My professional site: internet-israel.com Contact me at: Twitter: @ barzik Facebook: facebook.com/ rbarzik. Who am I?.

oberon
Download Presentation

Automated tests on Drupal

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Automated tests on Drupal Ran Bar-Zik/ 09 10, 2014

  2. Ran Bar-Zik Software Developer at HP Software R&D Working at HP Live Network project – based on Drupal. My professional site: internet-israel.com Contact me at: Twitter: @barzik Facebook: facebook.com/rbarzik Who am I?

  3. Why do we need automated testing? Bug reports after a new release:

  4. Automated tests solutions: Selenium + Jenkins: SimpleTest: QTP:

  5. JasmineJS behavior-driven development framework for testing JavaScript code • It can be used for testing web component and not only JavaScript.

  6. Expanding Box My jQuery example module: • Demolink: • Github link:

  7. JasmineJS Install

  8. Specrunner.htm The tests results will be here, but nothing to see here actually.

  9. Jasmine test file for expanding box

  10. Running Tests in Jasmine SA Just go to specrunner.html • Test link:

  11. Jasmine Drupal Integration Module for integration between Jasmine and Drupal • Available at Github: • Live Demo:

  12. Drupal Jasmine definitions

  13. Drupal Jasmine Integration manifest

  14. Playing drush command for Jasmine Drupal Integration

  15. Thank you

More Related