Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Responsive Data Visualization

You're reading from  Learning Responsive Data Visualization

Product type Book
Published in Mar 2016
Publisher
ISBN-13 9781785883781
Pages 258 pages
Edition 1st Edition
Languages
Authors (2):
Erik Hanchett Erik Hanchett
Profile icon Erik Hanchett
Christoph Körner Christoph Körner
Profile icon Christoph Körner
View More author details

Table of Contents (16) Chapters

Learning Responsive Data Visualization
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Getting Started with Responsive Design, Bootstrap, and D3.js Creating a Bar Chart Using D3.js and SVG Loading, Filtering, and Grouping Data Making the Chart Responsive Using Bootstrap and Media Queries Building Responsive Interactions Designing Transitions and Animations Creating Maps and Cartographic Visualizations Using GeoJSON Testing Responsive Visualizations Solving Cross-Browser Issues Index

Automated testing and Continuous Integration


As we saw previously, there are many cases where we can and should run tests for responsive visualizations. In any case where we can write automated tests, we prefer automated tests over manual tests. The reason we prefer automated tests is easy: to make them repeatable.

Once we have automated tests, we can run them every time a change is pushed to the repository. If they are fast enough, we can even run them every time we make changes to the local source files. This gives immediate feedback about the functionality of the code, and fast feedback. Debugging is easier, identifying and finding bugs, which automatically makes you more productive and development more effective.

Running tests on your local machine

Finally, we can start to write some tests and run them automatically. We will start with unit tests and speak about integration tests afterward.

Running unit tests using Karma

As a first tool to write and run unit tests, we need a tool that can...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}