1

Is this possible?

Actually, any tips about running nbehave tests and integrating them with build server would be appreciated.

Maybe there's a good alternatives?

Arnis Lapsa
  • 45,880
  • 29
  • 115
  • 195

3 Answers3

3

Have you tried behaveN? http://code.google.com/p/behaven/

It uses nunit and therefore integrating it with build server should be easy(assuming that you are using nunit)

darthjit
  • 1,555
  • 13
  • 20
  • Looks worth checking out. Is it tied completely together with nUnit? – Arnis Lapsa Dec 11 '09 at 22:37
  • I can't pass string argument from text file scenario to my method. Ridiculous problem. ^^ – Arnis Lapsa Dec 12 '09 at 11:17
  • can you publish the text file here? you don't have to use quotes btw. – darthjit Dec 12 '09 at 21:19
  • Downloaded source. Played around with it and somehow got it working. I even don't know what i did wrong previously. So far so good. Pursuing `bdd+ui testing` combo. – Arnis Lapsa Dec 12 '09 at 21:37
  • I think i will stick with it. It's not tied with nUnit. It's not even tied with particular test runner. Seems that project is immature and there is lack of documentation but i don't need much from it and it's quite easy to understand source code. Thanks. – Arnis Lapsa Dec 13 '09 at 10:35
2

You could check the nbehave examples, there's both a nant and a msbuild task.

Lazydev
  • 459
  • 2
  • 4
  • Nah, it took me ages just to find out how to use debugger. I'm happy with BehaveN. Does what i need in elegant enough way. – Arnis Lapsa Dec 21 '09 at 23:20
1

Actually yes, it is possible with the current release. The release now includes .tdnet files that TestDriven finds to direct it find the correct assemblies and call your tests.

AlSki
  • 6,868
  • 1
  • 26
  • 39