Markup in ReSharper Tests

Test Data Markup is a way to provide meta information about test cases in R# tests. A simple case is the caret position, designated by {caret}. This markup element is placed in the source code, directly where the caret is intended to be. Other markup allows to define test settings. Such settings can be queried by GetSetting() in test class, for example, to switch certain test behavior. An important piece of information missing in the R# documentation is that such settings need to be placed in comments:


class Demo { ... }