-
Notifications
You must be signed in to change notification settings - Fork 362
Test helper packages #119
Comments
Just to add (since I know you guys are busy) - if you prefer, I can volunteer to take ownership of them, clean them up a bit, publish, and support them. Unless of course you guys already have plans to do this. Let me know - thanks! |
Hi @msio777 - commented in #120. |
@hwillson I would totally love you to take over them and publish them yourself. Some notes:
import todosFactory from '/todos/factory.js';
todosFactory.create();
// rather than
Factory.create('todos');
|
cc @dburles |
Hey @tmeasday I suppose we could release it as version 2.0 of the package (without backwards compatibility). |
Great, thanks guys! @tmeasday - I'll start by breaking out |
@hwillson great I'm looking forward to it |
Hi guys - sorry for the delayed follow up on this. I've broken a new version of the first package ( |
Hey @hwillson @tmeasday I've gone ahead and setup a new branch for version 2 https://github.com/versolearning/meteor-factory/tree/two |
Awesome @dburles, thanks! |
Quick update based on #136 - @johanbrook is going to look into splitting out the PublicationCollector package (thanks @johanbrook!). |
⚡ Thanks for referencing here as well, @hwillson ! |
Alright, extracted to GitHub repo and published to Atmosphere:
Added some basic Mocha tests and fixed README a bit. |
Looks great @johanbrook. If you get a sec, send us a PR to switch out the dependency here and at at the guide! |
For sure :) Question: did you guys have any plans on next steps with this package, feature wise? I read here and there that "it can be improved greatly". I'd be keen to listen. |
I can't recall exactly -- I'd have to play with it in an app again, but I can think of two main thrusts:
|
Gotcha, thanks! The code is very "clean and minimal", and it seems to do what it's supposed to do so far. |
@johanbrook Could be updated to ES6 :) |
@dburles You mean imports? The code pretty much uses ES2015 syntax already :) |
@johanbrook you're right, at a glance what stood out was that it could probably be expressed in the new class syntax! |
@dburles True true. If we'd like that, don't think it'll hurt in this case. |
Both the |
Hi guys! I find the test helper packages (publication-collector, the modified factory package, and stub-collections) to be quite helpful. Are there any plans to publish these, or would you be open to PR's to help get them ready? Thanks!
The text was updated successfully, but these errors were encountered: