This is a repost of a discussion I started.
I'm using chutzpah test adapter for the test explorer 3.0.1. When I start VS and go to the Test Explorer, I can see the output in the "Tests" console. It shows ------ Discover test started ------ and then has a timeout for every one of my test files: "Error: Timeout occured when executing test file".
I do have the chutzpah logging enabled, and it spits out lots of good stuff, but every discovered test file ends with phantom complaining that it timed out.
I was considering upgrading to 3.2.1, but when I installed it locally, I started getting failures when running tests from chutzpah context menu or console. The tests themselves succeeded, but they started failing because of functionality in a document.ready function...which previously didn't seem to be executed during test execution. I believe the two problems are related. I was not worried about the js tests not showing up in test explorer because they were still executable from the context menu or console. But if 3.2.1 is going to start failing because the execution of the document.ready function, then I realize I need a better picture into what's really going on.
The sample I'm attaching does not have any references to a document.ready function, so I think that I may be off on that thought...but it is still a problem with 3.2.1 where the execution of the document.ready function causes errors. It seems that in previous versions (at least in 3.0.1), the document.ready was not being run).
I included the chutzpah.log that was generated by the test discovery process.
Any help you can provide is much appreciated.
Comments: Yes, running from chutzpah console command line works for the sample project. The document.ready problem is not expressed in this sample. I think that if I can figure out why the VS test explorer is failing to show these tests, I will be able to figure out the document.ready problem myself...it very well could be our bad practices. My concern here is that the 3.0.1 test explorer fails to display the tests, complaining about timeout. As a side note, is there anything about the chutzpah test execution that significantly changed between 3.0.1 and 3.2.1? If not, then I may end up posting another issue related to the document.ready problem. I did create an extremely simple web project that does discover the test and expose it in the test explorer. I don't understand what's different between the 2.
I'm using chutzpah test adapter for the test explorer 3.0.1. When I start VS and go to the Test Explorer, I can see the output in the "Tests" console. It shows ------ Discover test started ------ and then has a timeout for every one of my test files: "Error: Timeout occured when executing test file".
I do have the chutzpah logging enabled, and it spits out lots of good stuff, but every discovered test file ends with phantom complaining that it timed out.
I was considering upgrading to 3.2.1, but when I installed it locally, I started getting failures when running tests from chutzpah context menu or console. The tests themselves succeeded, but they started failing because of functionality in a document.ready function...which previously didn't seem to be executed during test execution. I believe the two problems are related. I was not worried about the js tests not showing up in test explorer because they were still executable from the context menu or console. But if 3.2.1 is going to start failing because the execution of the document.ready function, then I realize I need a better picture into what's really going on.
The sample I'm attaching does not have any references to a document.ready function, so I think that I may be off on that thought...but it is still a problem with 3.2.1 where the execution of the document.ready function causes errors. It seems that in previous versions (at least in 3.0.1), the document.ready was not being run).
I included the chutzpah.log that was generated by the test discovery process.
Any help you can provide is much appreciated.
Comments: Yes, running from chutzpah console command line works for the sample project. The document.ready problem is not expressed in this sample. I think that if I can figure out why the VS test explorer is failing to show these tests, I will be able to figure out the document.ready problem myself...it very well could be our bad practices. My concern here is that the 3.0.1 test explorer fails to display the tests, complaining about timeout. As a side note, is there anything about the chutzpah test execution that significantly changed between 3.0.1 and 3.2.1? If not, then I may end up posting another issue related to the document.ready problem. I did create an extremely simple web project that does discover the test and expose it in the test explorer. I don't understand what's different between the 2.