Assert.Warn

The Assert.Warn method allows you to immediately end the test, recording the result as a warning, together with an optional message.

Assert.Warn(string message=null, params object[] args);