-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Contributing First Steps #104
Contributing First Steps #104
Conversation
@SlavaVedernikov This isn't quite ready yet, but wanted to start getting some feedback on it so far. The EditorConfig is just one of those practices I prefer to have in place for open & closed source projects to keep the team on the same page. I personally prefer all severity settings to either be Disabled or Error, but that takes a lot of conscious effort to rework code. Having this baseline it can at least become clear when work is done to resolve a particular setting across the codebase. I'm also having some problems figuring out a potential testing flow. Unit tests for something like this does not seem as valuable as end-to-end/integration type tests that actually exercise the overall flow. Perhaps tests that mimic the CLI Project's Program.cs logic with controlled |
@kopelli In terms of testing, you're right, it's a bit tricky :) There are two key testing context:
In context 1
In context 2
I'm open to suggestions on this process improvements/changes etc. |
b74da87
to
3ef2443
Compare
Removing the top level interfaces per PR feedback. SlavaVedernikov#104 (comment)
Because Visual Studio stores the startup project in the user settings for a solution, when one is not set up yet -- such as after cloning the repo locally and running it for the first time -- it will default to the first project listed in the .sln file. Since the CLI project is the end goal, switching up the order in the file to fit this behavior. SlavaVedernikov#100
It makes sense that the default execution should be against something that already exists in the repository. Tried to make this match the 'draw-diagrams.bat' file in the directory, the output doesn't quite match any more. SlavaVedernikov#100
This helps bring in a consistent set of settings that apply to the codebase as a whole, and do not depend on the individual's IDE settings. This also helps be explicit on what analyzer settings are enforced vs. what ones the project does not wish to adhere to. SlavaVedernikov#100
This way it's easy to test a change against all examples
This way it's easy enough to execute all executions in a single go.
Removing the top level interfaces per PR feedback. SlavaVedernikov#104 (comment)
d3514b0
to
5b5dfc7
Compare
This PR may wind up being a work-in-progress for a bit to flesh out #100; or at least define other issues to tackle further.
Overall tried to make the project easy enough to clone it local and run it from Visual Studio. To accomplish this, the key changes:
NOTE: This is not yet complete
Outstanding work:
[ ] Clean up/convert the 'CLI Commands.txt' to meaningful launchSettings profiles...or tests...or something?
[ ] Guidance on how to regression test the project
[ ] Update the README 'Getting Started' section to point to the CONTRIBUTING once it is fleshed out futher.