angular / angular.js

AngularJS - HTML enhanced for web apps!
https://angularjs.org
MIT License
58.85k stars 27.52k forks source link

Strange grunt task name for running tests #5835

Closed sgronblo closed 10 years ago

sgronblo commented 10 years ago

This is just pedantry but I was trying to run angular's tests and noticed that in order to run for example the ng/interpolateSpec.js file you are supposed to run test:jqlite. Am I missing something with the connection between jqlite and $interpolate or is this just some legacy test configuration mistake?

IgorMinar commented 10 years ago

we run unit tests in two main environments, these are:

that's why the call the task what we call it.

If you'd like to add this explanation to the contributing doc then please send up a PR!

IgorMinar commented 10 years ago

I'm not which of the two CONTRIBUTING.md or contribute.ngdoc would be more suitable. you'll have to read them and pick the right one.

sgronblo commented 10 years ago

Ok, I'm satisfied with this explanation :) I assumed test:jqlite was to test the actual jqlite implementation.