Skip to content

Conversation

@asbjornu
Copy link
Member

@asbjornu asbjornu commented May 25, 2016

This PR makes the AssemblyInfoFileUpdate class support F# and Visual Basic as well as C# and with that fixes #858. It also adds a load of tests for F# and Visual Basic by making all of the AssemblyInfoFileUpdate tests into [TestCase] methods, and with that testing not just C#, but F# and VisualBasic as well.

@asbjornu
Copy link
Member Author

Don't merge just yet. I discovered some bugs in a few of the tests.

@asbjornu asbjornu force-pushed the feature/assembly-info-update-fixes branch from 0d5c2f2 to 1353214 Compare May 26, 2016 07:52
@asbjornu
Copy link
Member Author

There we go. Merge whenever! 😄

var variables = VariableProvider.GetVariablesFor(semanticVersion, config, false);
var json = JsonOutputFormatter.ToJson(variables);
json.ShouldMatchApproved();
json.ShouldMatchApproved(c => c.SubFolder("Approved"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am actually really happy with the ShouldMatchApproved api :P

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JakeGinnivan It's beautiful! 😄

@JakeGinnivan
Copy link
Contributor

Sweet!

@JakeGinnivan JakeGinnivan merged commit d2003e5 into GitTools:master May 26, 2016
@asbjornu asbjornu deleted the feature/assembly-info-update-fixes branch May 26, 2016 12:36
Halling69 pushed a commit to Halling69/GitVersion that referenced this pull request Jun 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update AssemblyInfo files failes for *.vb files

2 participants