Closed shpros closed 6 years ago
Having played around with this a little bit more, I'm confused about what problem the commits 0be6b23dc13664dc21119c61de8e649f023906b7 and 4b7fecb225f000556cc71d6e910d198e92d9a388 are supposed to be fixing. I tried rolling back bin/vows
to commit a5a124dc7b50c979372480b00cd9a0291f5dac63, keeping the tests at tip, but the tests in passing.coffee are still passing, as are all of the tests. That tells me that we don't really have a test illustrating the problem that 0be6b23dc13664dc21119c61de8e649f023906b7 and 4b7fecb225f000556cc71d6e910d198e92d9a388 were written to fix.
BTW, rolling back bin/vows
to commit a5a124dc7b50c979372480b00cd9a0291f5dac63 makes the Windows globbing work again, even with the newer version of glob that vows v0.9.0-rc2 is using.
vows 1.x doesn't do implicit globbing, so I think this is probably fine. Closing for now.
Thanks for the note. I'll let my project team know that we can/should test out vows 1.x.
Under Windows (Windows 7 with both CMD.EXE and Cygwin), wildcard globbing is broken in v0.9.0-rc2 and later code (e.g. master as of 2015-08-06), but works properly in v0.8.1 and v0.9.0-rc1. Globbing works correctly on a Linux VM (
Linux precise64 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
).The symptom is that the wildcard in
vows tests/*.js
does not get globbed into multiple individual files, but instead is treated as a file named*.js
. From my investigation, it appears that this was broken by a change between v0.9.0-rc1 and v0.9.0-rc2. I suspect the combination of 4b7fecb225f000556cc71d6e910d198e92d9a388 and 0be6b23dc13664dc21119c61de8e649f023906b7 that were implemented to fix #337.Result of running
npm test
in my project in Windows CMD.EXE or Cygwin with v0.8.1 or v0.9.0-rc1:Result of running
npm test
in my project in Windows CMD.EXE or Cygwin with v0.9.0-rc2 or master:Result of running
npm test
in my project in Linux VM with v0.9.0-rc2:I investigated further by cloning the
vows
project and running its tests. The unit tests for Vows all pass on the Linux VM, but under Windows there are varying numbers of failing tests depending on which version of Vows I test with. I'm not concerned about the "should have full path in stack trace" test, because that's just a flaw in the tests that is looking for/
at the beginning of the path. However, there is one additional failure that appears in v0.9.0-rc2 that I think is relevant, "Running vows with -i flag for test/fixtures/isolate/ all tests (*) with json reporter".Result of running
npm test
in vows project in Linux VM with v0.9.0-rc2:Result of running
npm test
in vows project in Windows CMD.EXE or Cygwin with v0.9.0-rc2:Result of running
npm test
in vows project in Windows CMD.EXE or Cygwin with v0.9.0-rc1 or v0.8.1 (different total number of tests, but same results for these two tests):