Support for assertions on dynamic expressions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Framework |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
From: https:/
<quote>
I have an nUnit test case that asserts the dynamic that was returned from Facebook C# SDK. Is there any way how to assert it using NUnit fluent syntax. Here is very *simplified* example for what I'm looking for:
// not working
var client = new FacebookClient(
dynamic userInfo = client.Get("me");
Assert.
Assert.
Assert.
Right now I can only test by specifying 'properties' directly
// working, but not fluent
var client = new FacebookClient(
dynamic userInfo = client.Get("me");
Assert.
Assert.
Assert.
</quote>
The request pertains member discovery of dynamic expressions, but we should consider whether the support should be limited to it or extended to other types of assertions which may now not work yet.
Changed in nunit-3.0: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |