Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test environment #123

Merged
merged 4 commits into from
Apr 12, 2013
Merged

Test environment #123

merged 4 commits into from
Apr 12, 2013

Conversation

iirvine
Copy link
Contributor

@iirvine iirvine commented Apr 8, 2013

Hello! I thought it might be about time for this plugin to have some test coverage. To that end I've gone ahead and stubbed out a little test environment.

Mostly just following Leaflet's lead here - Mocha + expect + sinon + karma. npm install and npm test should be all that's needed to get it up and running. All that's left now is actually writing some tests....

iirvine added 4 commits April 8, 2013 11:50
	-added Leaflet and testing dependencies to package.json
	-added spec folder + test libraries
	-added 'test' task to build.js and package.json
	-added karma config file (spec/karma.conf.js) and some miscellaneous spec helpers (leaflet-draw-include.js, leaflet-include.js, leaflet-deps.js)
@jacobtoye
Copy link
Member

Awesome! you rock @iirvine

I've been spread pretty thin lately with work commitments, however look forward to getting some test coverage!

jacobtoye added a commit that referenced this pull request Apr 12, 2013
@jacobtoye jacobtoye merged commit 96a981b into Leaflet:master Apr 12, 2013
@iirvine iirvine deleted the test_env branch April 12, 2013 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants