Skip to content
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

Issue 243 - nunit version #273

Merged
merged 3 commits into from
Oct 6, 2017
Merged

Conversation

erikbra
Copy link
Member

@erikbra erikbra commented Jun 19, 2017

As requested in Pull Request #271 , I have converted the tests to NUnit instead of xUnit. I have used TinySpec, as in Chocolatey tests, and tried to change as little as possible. Goal was to easily run tests in a modern development environment (Visual Studio), without having to use a command-line test runner.

Could you please take a look at this pull, @ferventcoder , and see if you like this one better than #271?

@BiggerNoise
Copy link
Member

I will look at pulling this in as soon as I am sure that I did not mess up the 0.8.7 release.

Thank you so much for the work on this, bear with me for a bit longer.

@erikbra
Copy link
Member Author

erikbra commented Jun 19, 2017

Lovely, @BiggerNoise. Thanks. I wouldn't want to mess up the 0.8.7 release - it's been in the making for years :)
I say don't stress the merging before the release. There's nothing stopping release 0.8.8 coming in not too long :)

The build failed because I had used C# 6 features. Any reason we want to stay on C# 5? We can handle this in a separate issue, anyway.

@erikbra
Copy link
Member Author

erikbra commented Jun 19, 2017

One thing, though. I might have broken some bdd doc generation? I don't know how to test it. But I don't think it has been working for ages, ref. #122.

@ferventcoder
Copy link
Member

Bdddoc was built to parse xml output from mbunit - so it would be expected to be broken when you switch out the testing framework (and that is okay).

The Nuget version bundled in the repo had incompatibilities
with current nuget.org packages (the newest ones wouldn't install).
Also deleted Nuget in lib/Nuget, as it isn't used.
Using Moq and Should for assertions, to be closer to what Chocolatey
does. Compare this with Pull request chucknorris#271, which uses xUnit,
NSubstitute and FluentAssertions
@BiggerNoise BiggerNoise merged commit 64a96de into chucknorris:master Oct 6, 2017
@erikbra erikbra deleted the issue-243-nunit branch April 13, 2020 19:43
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