Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In console.log, add the current test #1014

Closed
jehon opened this issue Jan 12, 2016 · 3 comments
Closed

In console.log, add the current test #1014

jehon opened this issue Jan 12, 2016 · 3 comments

Comments

@jehon
Copy link

jehon commented Jan 12, 2016

It is sometimes difficult to know what console.log relate to.

Would it be possible to add the current test into each console.log?

@slackersoft
Copy link
Member

console.log is provided by the outer environment being used to execute jasmine (e.g. the browser or nodejs), and not by jasmine itself. You might be able to write your own wrapper for use in your own tests, but this isn't something we're looking to have in jasmine right now.

Closing this. Thanks for using jasmine!

@jehon
Copy link
Author

jehon commented Jan 12, 2016

I use something to replace console.log by my own function, that something I can do. Could you show me how to get (in that global function) some informations about the running test?

@slackersoft
Copy link
Member

You are more likely to get quicker responses from the community for "How to use jasmine?" questions and a history of other solutions on the jasmine-js group. We try to keep jasmine's github issues list focused on bugs and feature requests for jasmine itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants