davies has asked for the wisdom of the Perl Monks concerning the following question:
A friend has written (in PHP - I'm trying to lead him to the light) a web site for backgammon clubs. He says it's about 10K lines and has no test suite. We found a bug some time back which he now claims to have fixed. The problem according to him was "a race condition between loading the page and loading its CSS". How might one go about writing tests for race conditions, whether in Perl or any other language? I don't see anything in Langworth & chromatic's book.
Regards,
John Davies
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [OT] Testing race conditions in web pages
by Corion (Patriarch) on Dec 04, 2018 at 14:08 UTC | |
|
Re: [OT] Testing race conditions in web pages
by markong (Pilgrim) on Dec 04, 2018 at 14:12 UTC | |
|
Re: [OT] Testing race conditions in web pages
by 1nickt (Canon) on Dec 04, 2018 at 14:04 UTC | |
by Corion (Patriarch) on Dec 04, 2018 at 14:11 UTC | |
by 1nickt (Canon) on Dec 04, 2018 at 14:17 UTC | |
by Jenda (Abbot) on Dec 05, 2018 at 14:07 UTC | |
by Corion (Patriarch) on Dec 05, 2018 at 14:30 UTC | |
by markong (Pilgrim) on Dec 05, 2018 at 16:31 UTC |