-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Fix/naming convention jsinterop #150
Fix/naming convention jsinterop #150
Conversation
In preparation to refactor of the files
For Issue #147 ( I cant seem to link Issue and PR) Requires a bit of updating the docs. I am in doubt if this requires an update in changelog. Probably due to changes to naming being a breaking change. Am i correct in this? |
Suggestion how the change could sound.
I added a suggestion for a change in the readme. |
@yourilima yes, update the changelog in the "Unreleased beta-8" -> "Changed" section. Write something with same structure as the existing entry in that section. |
I know it is a bit tedious, but if you can also:
|
Don't worry about the tediousness :)
Should be done i ran tests locally and everything is running as it should. i suppose i should not update the projects dependency yet? or should i for the sake of the entire repo to be able to run and test? Then when you finalize beta-8 you'll update the reference to
changed |
Leave it at 1.0.0-beta-8 now, thats fine.
Correct. I need to merge master into dev ASAP. Thanks for the heads up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. There is one more thing we should change now that we have these files open, its the namespace. A related issue @DarthPedro is working on (#146) is adding a new folder and namespace called TestDoubles
, which is a more general term for mocks/stubs/fakes/dummys, so lets move MockJSRuntime into that as well. I.e.:
- Move all the JSMock code from
/Mocking
to/TestDoubles
, in both the bunit.web and bunit.web.tests projects. - Move all types that are in the
Bunit.Mocking.JSInterop
to be in theBunit.TestDoubles.JSInterop
namespace.
Sorry, messed you up a little bit by merging main into dev, so the file in docs have moved. |
Don't worry I can fix it |
FYI: I have updated the dev branch with test-doubles as the name for the documentation section. |
Thanks @yourilima. It looks like all the boxes are ticked. Do you consider this PR ready to be merged? |
I do. the checkbox for documentation only relates to This is a breaking change though. How will that be reflected in the changelog? |
The move to TestDoubles folder is a change to be attributed to @DarthPedro so i omitted that on the changelog for now. |
He is doing work on another PR which is attributed to him, so I think it is fine. I will merge then. Thanks for your help. Let me know if you want to help out with other issues. |
Pull request description
PR meta checklist
DEV
branch.Content checklist
Change Checklist
Js
toJS
in Class, Method and File names