{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/SparkCLR/issues/75","labels_url":"https://api.github.com/repos/Microsoft/SparkCLR/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/SparkCLR/issues/75/comments","events_url":"https://api.github.com/repos/Microsoft/SparkCLR/issues/75/events","html_url":"https://github.com/Microsoft/SparkCLR/issues/75","id":117912476,"number":75,"title":"Switch to fluent assertion","user":{"login":"danielli90","id":4521874,"avatar_url":"https://avatars.githubusercontent.com/u/4521874?v=3","gravatar_id":"","url":"https://api.github.com/users/danielli90","html_url":"https://github.com/danielli90","followers_url":"https://api.github.com/users/danielli90/followers","following_url":"https://api.github.com/users/danielli90/following{/other_user}","gists_url":"https://api.github.com/users/danielli90/gists{/gist_id}","starred_url":"https://api.github.com/users/danielli90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielli90/subscriptions","organizations_url":"https://api.github.com/users/danielli90/orgs","repos_url":"https://api.github.com/users/danielli90/repos","events_url":"https://api.github.com/users/danielli90/events{/privacy}","received_events_url":"https://api.github.com/users/danielli90/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/SparkCLR/labels/debuggability/supportability","name":"debuggability/supportability","color":"207de5"},{"url":"https://api.github.com/repos/Microsoft/SparkCLR/labels/suggestion","name":"suggestion","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-19T21:33:11Z","updated_at":"2015-12-02T06:48:04Z","closed_at":null,"body":"Currently `Assert()` in Microsoft.VisualStudio.QualityTools.UnitTestFramework are used in samples and unit tests code. [FluentAssertions](http://www.fluentassertions.com/) (or [N-Fluent](http://n-fluent.net/)) offers a fluent style assertion, helps pinpoint the cause of assertion much more efficient. See original comment by @jthelin suggested in #68. Create this issue as suggestions to adopt fluent assertion as we write/update assertion in samples and unit test code. "},"comment":{"url":"https://api.github.com/repos/Microsoft/SparkCLR/issues/comments/161199063","html_url":"https://github.com/Microsoft/SparkCLR/issues/75#issuecomment-161199063","issue_url":"https://api.github.com/repos/Microsoft/SparkCLR/issues/75","id":161199063,"user":{"login":"danielli90","id":4521874,"avatar_url":"https://avatars.githubusercontent.com/u/4521874?v=3","gravatar_id":"","url":"https://api.github.com/users/danielli90","html_url":"https://github.com/danielli90","followers_url":"https://api.github.com/users/danielli90/followers","following_url":"https://api.github.com/users/danielli90/following{/other_user}","gists_url":"https://api.github.com/users/danielli90/gists{/gist_id}","starred_url":"https://api.github.com/users/danielli90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielli90/subscriptions","organizations_url":"https://api.github.com/users/danielli90/orgs","repos_url":"https://api.github.com/users/danielli90/repos","events_url":"https://api.github.com/users/danielli90/events{/privacy}","received_events_url":"https://api.github.com/users/danielli90/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T06:48:04Z","updated_at":"2015-12-02T06:48:04Z","body":"Sounds reasonable to me. Per this article - http://www.florian-rappl.de/News/Page/275/convert-mstest-to-nunit, it seems the cost is manageable – it mentioned http://www.monodevelop.com/, we may want to check out.\r\n\r\nThx\r\nDaniel\r\n\r\nFrom: Kai Zeng [mailto:notifications@github.com]\r\nSent: Tuesday, December 1, 2015 10:30 PM\r\nTo: Microsoft/SparkCLR <SparkCLR@noreply.github.com>\r\nCc: Daniel Li (BING) <danielli@microsoft.com>\r\nSubject: Re: [SparkCLR] Switch to fluent assertion (#75)\r\n\r\n\r\n@rapoth<https://github.com/rapoth> and I are looking into SparkCLR compatibility in Linux (#105<https://github.com/Microsoft/SparkCLR/issues/105>).\r\nWe find that the xbuild tool on Mono cannot build SparkCLR due to failure to restore MSTest. I have experimented with changing SparkCLR unit tests to use the NUnit test framework, where xbuild is able to restore and build the project smoothly.\r\n\r\nSo I suggest we consider switching to NUnit for unit test, as NUnit:\r\n\r\n  *   is available on NuGet\r\n  *   is comparable to MSTest in functionality\r\n  *   has visual studio plugins,\r\n  *   works with FluentAssertions\r\n\r\nAny thoughts on this? If we are fine with this, I can go ahead and push a PR.\r\n\r\n—\r\nReply to this email directly or view it on GitHub<https://github.com/Microsoft/SparkCLR/issues/75#issuecomment-161193940>.\r\n"}}