cs-au-dk / Artemis

automated testing for JavaScript
http://www.brics.dk/artemis/
GNU General Public License v3.0
36 stars 10 forks source link

Concolic tests failing #96

Closed BenSpencer closed 10 years ago

BenSpencer commented 10 years ago

I tried the concolic test suite yesterday (/artemis-code/tests/system/concolic.py) and the following tests are failing for me: boolean-coercion-of-string-to-false, hidden-field, jquery-checkbox-test, jquery-val-test.

The analysis tries to inject new values but the concrete execution does not take the expected path and so does not explore the whole tree.

The problem exists in aa779ecc, so it is not related to the changes to injection and DOM modifications from the past few days, which I initially suspected. Update: I am now suspicious that this was just because I did not rebuild WebKit between these tests?

I know for sure that at least some of these worked when they were added, but I have not had time to recompile WebKit and test those older commits yet.

BenSpencer commented 10 years ago
BenSpencer commented 10 years ago

The bug with hidden-field.html seems to be introduced between 1da86fcf (good) and 4de6e324 (bad).

Update: it is introduced by a34100a1, but I can't understand why.

BenSpencer commented 10 years ago
BenSpencer commented 10 years ago

The only remaining failing test case is now jquery-val-test, which is because of an unimplemented coercion feature (not a bug) and which Casper is already working on, so this issue is closed.