venus.js icon indicating copy to clipboard operation
venus.js copied to clipboard

Put console log inside test output

Open tarsisazevedo opened this issue 11 years ago • 7 comments

Print the console logs after each test case to debug easier.

tarsisazevedo avatar May 24 '13 22:05 tarsisazevedo

Hi Tarsis,

Could you please clarify exactly what you'd like to see? Are you talking about the format of the test result output in the terminal?

Thanks! Seth

sethmcl avatar May 25 '13 22:05 sethmcl

Yes, I'm talking about this output.

screenshot_5_25_13_10_07_pm-2

I think is better to debug the tests with the console log printed together the test output.

tarsisazevedo avatar May 26 '13 01:05 tarsisazevedo

Thanks for clarifying. I completely agree, this is a great suggestion.

sethmcl avatar May 26 '13 01:05 sethmcl

Thanks! I'm studying the venus code and I'll try to do some patchs. Venus is a great project! Congrats!

tarsisazevedo avatar May 26 '13 04:05 tarsisazevedo

Thanks for your kind words, we are looking forward to your patches :)

sethmcl avatar May 26 '13 06:05 sethmcl

Adrian, can you see how this might fit (or not) in with your work on the new reporters?

sethmcl avatar May 26 '13 07:05 sethmcl

Hey @sethmcl,

A hook could be added to the reporters to print console.logs after each test but some refactoring will need to be made to put those two things together.

Regards, Adrian

soonick avatar May 26 '13 22:05 soonick