-
-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SinonJS 3 API Proposal #1000
Comments
I like the factory names. You're just missing So you're planing to move I think there is no |
Thanks @mantoni - added missing On that note, is there value in extracting |
@jonnyreeves In my view, the value of extracting the XHR stuff is that the „core“ module has no browser specific logic. We had a couple of requests asking for fake server support in node. Obviously, the behavior would be very different in that context. So I think it makes sense to be able add „a“ fake server depending on the environment. |
As we already discussed Concerning splitting, I actually already had a first go a few weeks ago at extracting the |
Heh, crap, quite a lot of comments in the meantime ... Made some of my comments look a bit outdated 😊 Wrote almost the entire comment this morning, before I found I needed to update sinon-test before referring to the PR Wrt sinon.mock I could extract that bit, I guess. But there is no rush, ref my comment above. |
I like the splitting of features into own projects, but I have two concerns when it comes to splitting:
|
If we have scripts that contain some logic that doesn’t feel like it should be copy-pasted, we can always create a |
I would love to extract I never personally use these, as I find elaborate fakes/mock structures to be more work than they're worth. I am slowly getting started on a new documentation site, and would love to mark these as optional, and provide install instructions for them also. |
I would love to have something like this, that would set up everything the same for each project. |
FYI, just updated the title of this issue to reflect the fact that Sinon 2.0 should probably just focus on getting the CommonJS refactor out the door; we can look to start breaking / improving the public API after that? |
@jonnyreeves I agree. Let’s get this 🚢 and 💥 all the things in 3.0! |
This is all basically done, right? We can rather create a 4.0 release issue with whatever remains, including name cleanups (#1509). |
Yes. Now that 3.0 was released, all except the factory function renamings are done. I created a new ticket for those and assigned the 4.0 milestone. |
Part of 3.0 will involve slimming down the Public API; here my first (rather brutal) draft. Let me know what's missing (or what can go ;)
The text was updated successfully, but these errors were encountered: