scratch-vm/test/fixtures/execute
Christopher Willis-Ford 281a3e256a test: fix flaky test execute/order-changes-backwards-2-broadcast-and-wait-repeat-message.sb2
Before: sprite 3 uses the `wait` block to wait for the other two sprites
to finish. After the `wait` blocks, sprite 3 sends "end" to the test. If
the sprites take too long to finish, they might not be done before the
"end" message.

After: sprite 3 sets a variable called `finished` to zero on startup,
and increments it every time it hears a new message. Each sprite sends
that new message once it's done. When sprite 3 notices that `finished >=
2`, it sends the "end" message.
2022-07-06 13:18:45 -07:00
..
broadcast-wait-arg-change.sb2
control-if-false-then-else.sb2
control-if-false-then.sb2
control-if-true-then-else.sb2
control-if-true-then.sb2
control-stop-all-leaks.sb2
data-operators-global.sb2
data-operators-local.sb2
data-reporter-contents-global.sb2
data-reporter-contents-local.sb2
event-broadcast-and-wait-can-continue-same-tick.sb2
event-when-green-flag.sb2
events-broadcast-and-wait-yields-a-tick.sb2
hat-thread-execution.sb2
monitors-stage-name.sb2
operators-not-blank.sb2
order-changes-back-2-broadcast-wait.sb2
order-changes-backwards-2-broadcast-and-wait-repeat-message.sb2 test: fix flaky test execute/order-changes-backwards-2-broadcast-and-wait-repeat-message.sb2 2022-07-06 13:18:45 -07:00
order-changes-backwards-2-broadcast-and-wait.sb2
order-changes-backwards-2-broadcast-no-wait.sb2
order-changes-backwards-2-broadcast-wait.sb2
order-changes-backwards-2-continuous.sb2
order-changes-backwards-2-threads-broadcast-wait.sb2
order-changes-forewards-2-broadcast-wait.sb2
order-changes-front-2-broadcast-wait.sb2
order-clones-backwards-2-broadcast-wait.sb2
order-clones-backwards-broadcast-wait.sb2
order-clones-static-2.sb2
order-immobile-stage.sb2
order-library-reverse.sb2
order-library-reverse.sb3
order-library.sb2
order-library.sb3
procedures-boolean-reporter-bug.sb2
procedures-nested-missing-boolean-param.sb2
procedures-nested-missing-no-param.sb2
procedures-nested-missing-number-param.sb2
procedures-nested-missing-string-param.sb2
procedures-number-number-boolean.sb2
procedures-param-outside-boolean.sb2
procedures-param-outside-number.sb2
procedures-param-outside-string.sb2
procedures-recursive-default-boolean.sb2
procedures-recursive-default-number.sb2
procedures-recursive-default-string.sb2
README.md
sensing-get-attribute-of-stage-alt-name.sb2
sprite-number-name.sb2

Tests in this folder are run in scratch by integration/execute.js. The tests can SAY test messages that map to tap methods. Read integration/execute.js for more.