Re: [openstack-dev] [horizon] Packaging Sinon.JS as xstatic

2014-10-14 Thread Timur Sufiev
Adding yesterday discussion of JS libs for unit-testing in #openstack-horizon: http://paste2.org/B9xN1yI4 On Mon, Oct 13, 2014 at 5:01 PM, Timur Sufiev tsuf...@mirantis.com wrote: Hello folks! Discussing the proposed Sinon.js dependency to Horizon on the last meeting has brought quite an

Re: [openstack-dev] [horizon] Packaging Sinon.JS as xstatic

2014-10-13 Thread Timur Sufiev
Hello folks! Discussing the proposed Sinon.js dependency to Horizon on the last meeting has brought quite an expected question: why should we add it when there is already such wonderful testing framework as Jasmine? And if you need some testing feature present in Jasmine, why not rewrite your

[openstack-dev] [horizon] Packaging Sinon.JS as xstatic

2014-10-07 Thread Timur Sufiev
Hello all! Recently I've stumbled upon wonderful Sinon.JS library [1] for stubs and mocks in JS unit tests and found that it can be used for simplifying unit test I've made in [2] and speeding it up. Just before wrapping it as xstatic package I'd like to clarify 2 questions regarding Sinon.JS: *