-
Notifications
You must be signed in to change notification settings - Fork 8
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
Removing a file #18
Comments
I wouldn't put the method on these two classes, because as you wrote that they are for the one-time process to create the project. |
In that case would it be better to keep that code out of the test project
generator for the time being? It's only useful in exactly one test at this
time and I'm happy to keep things simple.
…On Thu, 1 Aug 2019, 07:24 Andreas Willich, ***@***.***> wrote:
I wouldn't put the method on these two classes, because as you wrote that
they are for the one-time process to create the project.
Put it into a class of it's own. For sdk-style projects removing the file
is enough. Only for the old-csproj style you have to adjust the file itself.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#18>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAY5LSQAKT5FAZERR3IHBU3QCJ6RLANCNFSM4IIK2CDQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to write a test suite (for the change to code generation SpecFlowOSS/SpecFlow#1362), but can't currently create a test for removing a feature file and performing a build, because there's no mechanism for "updating" a generated project.
Is it reasonable to introduce a
RemoveFile
method to theProject
andProjectDriver
classes? I'm not clear how that might reconcile with theSolutionWriter
being a one-time process with no room for removing content.The text was updated successfully, but these errors were encountered: