Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Add Auto Test
Add Auto Test

Add Auto Test

Devon Lemieux

|
1,087 installs
| (1) | Free
Add automated test
Download

add-autotest-extension

Based on repo: AddAnyFile

Visual Studio Extension to add a new automated test from a template Download the extension at the VS Gallery

Features

  • Easily create any file with any file extension
  • Create files starting with a dot like .gitignore
  • Create deeper folder structures easily if required
  • Create folders when the entered name ends with a /

Show the dialog

A new button is added to the context menu in Solution Explorer.

You can either click that button or use the keybord shortcut Shift+F2.

Create folders

Create additional folders for your file by using forward-slash to specify the structure.

For example, by typing scripts/test.js in the dialog, the folder scripts is created if it doesn't exist and the file test.js is then placed into it.

Variables

Variables currently in use are

  • {namespaceUnderscored} ex. for a file with namespace Traversa_UITests.Tests.STU.SAP.SBAT.C2CSCH, will be STU_SAP_SBAT_C2CSCH (removes project name)
  • {itemname} name entered in the input
  • {namespace} namespace based on folder path
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft