[annotator-dev] running annotator tests

Randall Leeds tilgovi at hypothes.is
Thu Apr 25 21:33:08 UTC 2013

For easier-to-read output you can do "./tools/test_phantom -R dot" or
simply "make test".

I know Nick talked to me at our meetup about maybe removing the redo
tool and going for normal make. If we want to do this I'm happy to
write the Makefile which would have the proper rules so that "make
test" automatically ensures an up-to-date build first.

On Thu, Apr 25, 2013 at 2:31 PM, Randall Leeds <tilgovi at hypothes.is> wrote:
> Did you build the JS yet?
> ./tools/build (included in my most recent pushes) or ./tools/watch
> (for live updating)
> Then you should be able to test_phantom as you wrote.
> On Thu, Apr 25, 2013 at 2:59 AM, Ed Summers <ehs at pobox.com> wrote:
>> Hi all,
>> I'm just getting up to speed with writing a plugin to support some
>> annotator-store work I did for cross-format-annotations [1] (more on
>> that later).
>> I love seeing that effort was made to test the annotator (makes my
>> life easier). But I'm a bit unclear on how to run the test suite,
>> perhaps I'm doing something wrong?
>>   % tools/test_phantom
>>   0 tests complete (1 ms)
>> I'm testing with okfn's annotator-store [2] and phantomjs v1.8.2. Any
>> help you can provide would be greatly appreciated!
>> //Ed
>> [1] https://github.com/hypothesis/h/wiki/cross-format-annotations
>> [2] https://github.com/okfn/annotator
>> _______________________________________________
>> annotator-dev mailing list
>> annotator-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/annotator-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/annotator-dev

More information about the annotator-dev mailing list