scenarioo / scenarioo-js

Scenarioo writer library to produce feature rich e2e test reports, e.g. from Protractor/WebDriverJS tests with Jasmine
http://www.scenarioo.org
MIT License
10 stars 3 forks source link

Improve Logging #23

Closed bruderol closed 8 years ago

bruderol commented 8 years ago

Scenario Logging is verbose, which has some advantages, but should be a little bit more nice and also should be possible to disable.

Before implementing this issue it looked similar to the following:

scenario :: scenario 1 :: suceeded
.scenario :: scenario 2 :: suceeded
.scenario :: scenario 3 :: suceeded
.useCase :: usecase 1 :: suceeded (3 passed, 0 failed, 0 skipped)

following has been improved:

bruderol commented 8 years ago

Started to improve some of the mentioned points, now it looks as follows:

image

bruderol commented 8 years ago

there is now 1 line for each scenario in correct color and followed by the usual jasmine */./F output (did not manage to put this on the same line unfortunately (maybe on linux it will work).

bruderol commented 8 years ago

the use case lines are kept black, because that is just additional summary and not a real failed or succeeded test on its own

bruderol commented 8 years ago

I updated the issue description to reflect current state.

@dola what do you think? Okay like this?

dola commented 8 years ago

@bruderol looks pretty cool with the colors! Will have a look at the code next week.

bruderol commented 8 years ago

you can see a sample output here: http://build.scenarioo.org/jenkins/job/deploy-demo-and-run-e2e-tests/824/console

bruderol commented 8 years ago

finally managed to even make it better:

image

only one line per scenarioo success or failure together with jasmine ./F/* output :-)

bruderol commented 8 years ago

consider this as done