djcrankypants / spock

Automatically exported from code.google.com/p/spock
0 stars 0 forks source link

Report successfull test like BDD spec #331

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I like the way scalatest output my test with Funsuite.

I would like spock report in the console that test goes right, as in behavior 
driven development test.

Original issue reported on code.google.com by yann.lem...@gmail.com on 26 Sep 2013 at 7:05

GoogleCodeExporter commented 8 years ago
Spock doesn't generate any console output, but leaves this responsibility to 
the entity running the tests (e.g. build tool). We are working on a BDD-style 
HTML report, though.

Original comment by pnied...@gmail.com on 26 Sep 2013 at 7:11

GoogleCodeExporter commented 8 years ago
Thanks for quick answer. Personnaly, I prefer console but HTML report is fine 
too and I can imagine what drive your choice (by exemple, the gradle philosophy 
is to make console output minimal when all things go fine)

Hope to see it soon :)

Original comment by yann.lem...@gmail.com on 26 Sep 2013 at 7:17

GoogleCodeExporter commented 8 years ago
The point is that as long as Spock integrates with tools via JUnit, it can't 
really control console output.

Original comment by pnied...@gmail.com on 26 Sep 2013 at 7:32