mathiasbroekelmann / js-test-driver

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

Loading css assets breaks execution #375

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add a .css file in the jsTestDriver configuration file 'load' section
2. run tests

What is the expected output? 
All specified tests should be run and the .css rules should be loaded.

What do you see instead?
Sometimes all goes well and all tests are executed. Sometimes however, no tests 
are found: "Total 0 tests (Passed: 0; Fails: 0; Errors: 0) (0.00 ms)"

What version of the product are you using? On what operating system?
JsTestDriver-1.3.4.b.jar on Ubuntu 11

I searched a lot on the internet but I couldn't find the right way to load css 
files into your testing framework. Loading the .css files at runtime as static 
assets is inapplicable, I have a lot of tests and I want them to run in the 
environment that the production code will be running in.

Original issue reported on code.google.com by george.a...@gmail.com on 28 May 2012 at 1:27

GoogleCodeExporter commented 8 years ago
The tests ARE sent to the browser and it runs them. The JSTD however ends 
execution right away (with "Total 0 tests...") and does not care about the 
results.

Original comment by george.a...@gmail.com on 28 May 2012 at 1:36