Re: Unit testing under GJS



Babel transpiling builtins is broken since ever: https://github.com/babel/babel/issues/4480

I wonder if using https://github.com/WebReflection/babel-plugin-transform-builtin-classes would help

Also please have a look at cgjs which brings CommonJS to GJS:
https://github.com/cgjs/cgjs

Regards

On Mon, Dec 4, 2017 at 8:45 PM, Sriram Ramkrishna <sri ramkrishna me> wrote:
I'm going to defer to someone like Phillip Chimento who knows this stuff way better than I do.  However..


On Mon, Dec 4, 2017 at 2:54 PM Edgar Merino <donvodka gmail com> wrote:
    I've posted a similar email to the GSE mailing list, but I thought it would be helpful for any GJS developer looking to create quality code by applying TDD.

It'll be great to read your thoughts on this approach.



Thank you for putting the effort into doing this.  This is pretty neat concept.  At one point, a couple years ago I was trying to figure out how to do testing on extensions as a whole as part of the release process.  The test was a basic "Does it work?".  But having a mechanism to do unit tests would be pretty handy especially if it could be incorporated as part of the submission process.  So from a policy perspective I think this is pretty awesome.

sri


_______________________________________________
_javascript_-list mailing list
_javascript_-list gnome org
https://mail.gnome.org/mailman/listinfo/_javascript_-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]