Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3962698
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:07:37+00:00 2026-05-20T03:07:37+00:00

I found that this custom tool is used for generation of .cs files from

  • 0

I found that this custom tool is used for generation of .cs files from SpecFlow’s .feature file.
Is there a way to use this tool outside of VS?
I would like to call this tool from console for specific .feature file when building my project with NAnt.

Regards,

Vajda Vladimir

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T03:07:38+00:00Added an answer on May 20, 2026 at 3:07 am

    You sure can! That is if you mean: “Can I generate unit test code from my .feature-files without using Visual Studio”

    I’ve written about that here: http://www.marcusoft.net/2010/12/specflowexe-and-mstest.html but in short you can use the SpecFlow.exe with the “generateAll” switch, and it will inspect your project settings and generate the appropiate unit tests for you (in my example it’s MsTest but it can be any of the supported testing frameworks).

    The SpecFlow.exe’s help we get the following concise help:

    Generate tests from all feature files in a project
    usage: specflow generateall projectFile [/force] [/verbose]
        projectFile  Visual Studio Project File containing features
    

    So for a project called Specs.csproj it would be:

    "%ProgramFiles(x86)%\TechTalk\SpecFlow\SpecFlow.exe" generateAll Specs\Specs.csproj /force /verbose
    

    You can read more in my blog post – but this is basically it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to use code I've found that uses Win32. However, I'm getting this
I found that this C++ code: vector<int> a; a.push_back(1); a.push_back(2); vector<int>::iterator it = a.begin();
Searching here I found that this question was already asked , but I think
I was creating a website http://tapasya.co.in and i found that this site has some
I am using a NamedParameterJdbcTemplate, but found that this problem is in the underlying
I've been here and accordingly found out that this piece of code here var
<table> <td>cell1</td> <td>cell2</td> </table> I found out that this tags work on ie8, firefox
While trying to answer this question I found that the code int* p =
I know that this is a repeated question. I have found very similar questions
I have searched for this, and i found that for api less than 12,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.