Just submitted my first OpenLayers pull request and came up with a couple of questions:
1. I'm a node/npm/karma newbie. How do I run a single test? I'm used to Ruby/rspec where I can do something like: env SPEC=./spec/models/user_spec.rb rake spec to run all tests in a given file, or to run the test at line 45 of the file: env SPEC="./spec/models/user_spec.rb#45" rake spec 2. From the shell, is there a way to pull up a debugger or `console.log(...)` from a test? In ruby, I might add `require 'byebug'; byebug` or in Python I might `import ipdb; ipdb.set_trace()` to pull up a REPL at a particular line in my test. 3. DEVELOPING.md talks of a Make-based build system, but most of the targets are missing from the Makefile. Looks like some commands can be run with npm instead (`npm test` instead of `make test`). I would update/submit a pull request, but I'm not sure how to find the commands that work. Cheers, Pete -- You received this message because you are subscribed to the Google Groups "OpenLayers Dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/openlayers-dev. To view this discussion on the web visit https://groups.google.com/d/msgid/openlayers-dev/abd7d018-13f0-4068-8a9a-985f8bf2dc44%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
