nikseras / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

Invalid characters in filename (windows) #369

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a test with the following title it('Test ":" and "|"', function())
2. Run js-test-driver with --runnerMode INFO and --testOutput 
3. It will log an error SEVERE: Could not create file: Test":"and"|"

What version of the product are you using? On what operating system?
js-test-driver 1.3.4b. All Windows Operating Systems

Please provide any additional information below.
See attached patch to fix tests that include invalid windows filename 
characters like : and |.

Original issue reported on code.google.com by maxbergm...@gmail.com on 27 Apr 2012 at 1:23

Attachments:

GoogleCodeExporter commented 8 years ago
Found a better solution which hashes the name of the junit test file, which 
will work on all platforms and won't cause issues by truncating file names 
(i.e. long test names).

Original comment by maxbergm...@gmail.com on 27 Apr 2012 at 3:22

Attachments: