Hi, I was happy to read the new features for Rails 5.1 here:
http://weblog.rubyonrails.org/2017/2/23/Rails-5-1-beta1/
Specially as I have already been using webpack,npm and yarn for a while
(well, yarn just recently, of course) and I'm pretty happy with the
results. My main motivations were cl
Thank you for the feedback Rodrigo.
I think it is worth to explore possibilities for JavaScript tests. I don’t
see why Rails could not integrate better with the test ecosystem in the
JavaScript community and I think it is a valuable direction to take. We
didn’t included anything in this line in 5.
Great to hear that :) I'm looking forward to see some Mocha integration
in Rails 5.2 ;)
Cheers,
Rodrigo.
Em 23-02-2017 18:09, Rafael Mendonça França escreveu:
Thank you for the feedback Rodrigo.
I think it is worth to explore possibilities for JavaScript tests. I
don’t see why Rails could no
Couple of data points:
We are moving to Elm for all our client code, so Karma or Mocha wouldn't
help us much, as we use elm-test.
Also, we have multiple bundles for different SPAs living within the same
Rails app, so I also wouldn't want to see the hardcoded assumption that all
tests have to be r
For our particular application, I have created my own test runner on top of
Buster.js. One of the reasons is that I wanted more than just unit tests,
as I wanted integration tests for my JS bundles. In order to ensure all
dependencies are declared correctly, we run each top-level context in the
sui