Re: [specflow] How to combine multiple spec flow projects into 1 solution?

450 views
Skip to first unread message

Luke Ryan

unread,
Sep 10, 2012, 10:28:47 PM9/10/12
to spec...@googlegroups.com
I believe you can move your Step Files into a seperate 'shared' project and keep your seperate projects for your feature files.
Then within the app.config for each of your Feature File projects add a tag reference to the name of the Shared Step Assembly

https://github.com/techtalk/SpecFlow/wiki/Configuration
  <stepAssemblies>
    <!-- <stepAssembly assembly="{name-of-assembly-containing-bindgins}" /> -->
  </stepAssemblies>
SpecFlow will then resolve that assembly when looking for matching Step Definitions.

On Tue, Sep 11, 2012 at 1:35 AM, Jonathan Malkin <racer...@gmail.com> wrote:
My QA team wants to use continuous integration and merge Spec Flow projects into one solution.
 
How can we maintain multiple Spec Flow projects into one solution?
 
Currently we have two spec flow projects in one soluiton and each build a sepearte dll, but have similar methods at run time during the tests.
 
Is there any special tricks in order to get around this, besides combining all the spec flow projects into 1 specflow feature?
 
Thanks,
Jonathan

Jonathan Malkin

unread,
Sep 12, 2012, 1:36:55 PM9/12/12
to spec...@googlegroups.com
LR,
 
Have you ever run specflow tests on a build server?
And if so what is the setup requried for that?
And how did you maintain multiple projects?
 
Thanks,
-Jonathan

Lior Friedman

unread,
Sep 12, 2012, 2:02:02 PM9/12/12
to spec...@googlegroups.com

Jonathan,
What unit test framework  you use in your test projects?
At the end specflow generates simple unit tests, so the integration to a build server really depends on that,

Also which ci server do you use?

Lior

Reply all
Reply to author
Forward
0 new messages