-
-
Notifications
You must be signed in to change notification settings - Fork 113
Refactor library into sub libraries #75
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
Comments
Good idea. Maybe just deprecate And if you build any library, make sure that the required dependencies are as low as possible. (For example I noticed that bunit.xunit required the latest version from xunit, which means in my case updating my test projects to match that xunit version) |
@StefH good point StefH. I am trying to figure out how to best manage dependencies. Ideally, my dependencies will be more limited going forward, and only depend on major versions of a library, if possible, or at the required long-term support version, in aspnetcore's case. My idea with keeping the bunit package around is inspired by xunit. They have a similar setup, where if you just install xunit, you get a bunch of other packages that you are very likely to need. That makes it easier to get started. More advanced scenarios allow you to pick only xunit.core and xunit.assert and skip other parts. |
@egil Sorry, maybe a stupid question from my side : why do you actually need xunit as dependency ? |
For the razor based tests and snapshot tests, I need a test runner, unless I create my own, which is quite a bit of work. If you are only writing c# based tests, then you will, when this is done, just be able to pick the bunit.web library, and use whatever test framework to run the tests you want. There should only be a dependency on Shouldly in the test project for bunit. I use that simply because I like the vocabulary it comes with. ps. there are no stupid questions, ask away. |
To make it easier to maintain and extend the library with support for other Blazor project types and testing library types (e.g. nUnit), I want to separate the library in to the following:
Dependencies in each project should then be:
The new folder structure should be:
...
TODO
closes #5
The text was updated successfully, but these errors were encountered: