floledermann / mapmap.js

A data-driven API for interactive thematic maps
GNU Affero General Public License v3.0
113 stars 12 forks source link

Add tests #2

Open floledermann opened 9 years ago

floledermann commented 9 years ago

Need to investigate how to best test browser & D3 based stuff. Most important for now would be some kind of integration testing to make sure the build doesn't break on some fundamental level like in #1.

Right now there is the mapmap-examples repo that can be used to do manual testing of mapmap.js builds.

If anyone with experience in testing browser-based libraries could contribute to an automated testing setup, that would be great.

floledermann commented 8 years ago

We should probably use tape for this https://medium.com/javascript-scene/why-i-use-tape-instead-of-mocha-so-should-you-6aa105d8eaf4