[RFC] dotnet-xunit support by aignas · Pull Request #249 · vim-test/vim-test · GitHub
Skip to content

[RFC] dotnet-xunit support#249

Merged
janko merged 2 commits into
vim-test:masterfrom
aignas:feature/csharp-xunit
Dec 1, 2017
Merged

[RFC] dotnet-xunit support#249
janko merged 2 commits into
vim-test:masterfrom
aignas:feature/csharp-xunit

Conversation

@aignas

@aignas aignas commented Nov 18, 2017

Copy link
Copy Markdown
Contributor

This is initial support for the dotnet-xunit tool provided by the XUnit framework for C#.

@aignas aignas force-pushed the feature/csharp-xunit branch 2 times, most recently from 5370bf8 to 741b6b5 Compare November 18, 2017 21:32
@aignas

aignas commented Nov 18, 2017

Copy link
Copy Markdown
Contributor Author

@aignas aignas changed the title Feature/csharp xunit [RFC] dotnet-xunit support Nov 18, 2017
Comment thread autoload/test/csharp/xunit.vim Outdated
"
"let file = a:position['file']
"let project_path = test#csharp#get_project_path(file)
"let g:test#project_root = fnamemodify(project_path, ':p:h')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Does this commented out code need to remain?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not necessarily. At the moment there is a bug, that the pwd needs to be the same as the solution file and if you have sub-folders in the project and autochdir enabled, then it will not work unless you manually change the folder to the project root. I thought that setting it dynamically would work, but that does not work and it needs the changes that are introduced in #242 or something similar.

Shall I remove this commented out code and create an issue?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yes I think that would be better as commented out code can be a source of confusion. If you do create an issue you can add in the link in the comment block.

@codeinabox

Copy link
Copy Markdown
Collaborator

Thank you so much for your contribution, very much appreciated. Could you also update doc/test.txt with the test command please.

@aignas aignas force-pushed the feature/csharp-xunit branch from 5626447 to 1f0e723 Compare November 20, 2017 21:53
@aignas

aignas commented Nov 20, 2017

Copy link
Copy Markdown
Contributor Author

@codeinabox codeinabox left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. @janko-m do you have any further feedback as this runner contains a fair bit of logic?

@janko janko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great, thank you! ❤️

@janko janko merged commit 5b4f233 into vim-test:master Dec 1, 2017
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.

3 participants