Starting in 2013, Continuous Integration (CI) has seen the light in the world of Drupal. More and more agencies use some form of CI systems to automate their builds, perform deployments and run unit tests. And that’s a good thing, because Continuous integration helps us retrieve predictable and repeatable results that improve the development process.
In this session, I will take the audience one step further and introduce them to PhantomJS and CasperJS. We take our beloved TDD and unit testing best practices to the front end and show how we can drive the web by a phantom. No more manually adding nodes to check your workflow. No more masquerading to check permissions. All automated for you, right in the headless browser.
Because PhantomJS works just as your everyday browser, you can validate all front end results of your code, including javascript driven behaviour, just like you test the rest of your code.
How does automated integration testing meet business needs? PhantomJS:
- prevents the regression of bugs,
- increases test coverage,
- saves a lot of manual test time,
- eases the process of updating a site.
After this session, you will be able to deliver better sites with less bugs in a shorter time period.
- Log in to post comments