-
Notifications
You must be signed in to change notification settings - Fork 525
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
[WIP] Property tests for dependencies file parsing #807
Conversation
</ItemGroup> | ||
<ItemGroup> | ||
<Reference Include="mscorlib" /> | ||
<Reference Include="nunit.core"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
had to add those manually - FsCheck.Nunit package does that through powershell
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/cc @kurtschelfthout why is this in the powershell script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On mobile now so don't have a good overview, but think that's wrong, should be reference/content or whatever the canonical way of doing it is. Would you mind opening an issue?
ready to merge? |
Not yet, I'll do some improvements soon and let know when its ready |
OK I think it can be merged for now - added a bit more possibilities to the generator, however still there are some "hardcoded" values. |
thx |
As per #802 the dependencies file caches all lines for later serializing, so this round-test may not be that useful, however it can surely serve as a safety net for future refactorings.
The test doesn't yet generate all valid dependencies files, but it could already find some pitfalls:
#
,but can't have a hash-comment inline such as
nuget FsCheck #fscheck is cool
Didn't fix those for now, instead made a workaround in generating test data