Quantcast
Channel: Chutzpah - A JavaScript Test Runner
Viewing all articles
Browse latest Browse all 1864

New Post: JavaScript debug statements

$
0
0
Hi there,

I just had some unittests that kept on failing. While debugging, I noticed that I repeatedly used the Jasmine testpage so that I could see what was going on in my code when executing the tests. Using console.log along with the webpage, I found the insight I was looking for and fixed my code.

I already saw a discussion for being able to debug unittests. It would also be immersely helpful if somehow I was able to view outputted messages from my code in the test explorer. For default .NET projects, outputting messages with Console.WriteLine() during a unittest also appears when viewing details of a unittest.

Hope this helps.

Viewing all articles
Browse latest Browse all 1864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>