Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Make BDD Name
Make BDD Name

Make BDD Name

Justin Rockwood

|
708 installs
| (1) | Free
A Visual Studio extension that adds menu commands to convert a class or method name to and from a BDD-style sentence.
Download

Do you like to use a Jasmine/BDD style of naming your C#/VB test methods? Are you tired of typing an underscore between words? Then this extension is for you! Simply type your sentence in quotes using spaces, punctuation, or whatever else you want, then hit Ctrl+', Ctrl+' to convert the sentence to a C#-compatible method or class name.

See the changelog for updates and roadmap.

Features

Easily type a BDD-style sentence in quotes for a class or method name, and then hit Ctrl+', Ctrl+' or select "Make BDD Name" from the shortcut menu.

Menu Screen Shot After Command Screen Shot

Watch a video of the usage here.

Specify what format you want your BDD sentences in from Tools/Options.

  • Underscores and preserve case ("should Do something" --> should_Do_something)
  • Underscores and sentence case ("should Do something" --> Should_do_something)
  • PascalCase ("should Do something" --> ShouldDoSomething)

Options Dialog

Contribute

Check out the contribution guidelines if you want to contribute to this project.

License

Apache 2.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft