Predefined File Templates for Test
This topic lists all predefined file templates for Test in JetBrains Rider 2023.2. For more information about file templates, refer to Create files from templates.
Template | Details |
---|
MSTest Test Class
| MSTest Test Class Scope VB.NET projects, MSTest Test Project Body Namespace $NAMESPACE$
<Microsoft.VisualStudio.TestTools.UnitTesting.TestClass>
Public Class $CLASS$
$END$
End Class
End Namespace Parameters CLASS - Evaluates to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the default namespace for the current file
END - The caret position after the template is applied.
|
NUnit 3x Test Fixture
| NUnit 3x Test Fixture Scope VB.NET projects, NUnit 3x Test Project Body Namespace $NAMESPACE$
<NUnit.Framework.TestFixture>
Public Class $CLASS$
$END$
End Class
End Namespace Parameters CLASS - Evaluates to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the default namespace for the current file
END - The caret position after the template is applied.
|
NUnit 2x Test Fixture
| NUnit 2x Test Fixture Scope VB.NET projects, NUnit 2x Test Project Body Namespace $NAMESPACE$
<NUnit.Framework.TestFixture>
Public Class $CLASS$
$END$
End Class
End Namespace Parameters CLASS - Evaluates to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the default namespace for the current file
END - The caret position after the template is applied.
|
xUnit Test Class
| xUnit Test Class Scope VB.NET projects, xUnit Test Project Body Namespace $NAMESPACE$
Public Class $CLASS$
$END$
End Class
End Namespace Parameters CLASS - Evaluates to the current file name without extension and with all non-alphanumeric characters replaced with underscores
NAMESPACE - Evaluates to the default namespace for the current file
END - The caret position after the template is applied.
|
Last modified: 04 September 2023