← Back to team overview

nunit-core team mailing list archive

[Bug 644248] [NEW] Is.TypeOf<Foo>() shoul have an alias Is.OfType<Foo>()

 

Public bug reported:

Something about the wording of Is.TypeOf<Foo>() makes this read as
though the test is checking that the actual object is the Type Foo.  An
alias that would read better and avoid this confusion would be
Is.OfType<Foo>() which reads in a way that developer might actually ask
this statement.

** Affects: nunitv2
     Importance: Undecided
         Status: New

-- 
Is.TypeOf<Foo>() shoul have an alias Is.OfType<Foo>()
https://bugs.launchpad.net/bugs/644248
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.

Status in NUnit V2 Test Framework: New

Bug description:
Something about the wording of Is.TypeOf<Foo>() makes this read as though the test is checking that the actual object is the Type Foo.  An alias that would read better and avoid this confusion would be Is.OfType<Foo>() which reads in a way that developer might actually ask this statement.





Follow ups

References