-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fuzz test wrappers #76
Comments
We discussed this today. As we are moving toward publishing and sharing more dev versions, we would like more confidence that things are working smoothly without having to rely on the QA team so heavily. We decided to increase the priority. |
It doesn't feel like aqua is properly modularized to easily support this. What if every repo had a single entry point HTML that ran all of the tests for that repo (or one entry point for requirejs and one for built)? Or it could define its own testable entry points in package.json. Then the logic in aqua would be:
And we wouldn't need to take CT offline or restart it to add/remove/change tests. We could also hook in to the same tests from phetmarks. In #69 @jonathanolson and I discussed getting CT to run locally, this could help in that effort. On the other hand, wouldn't this end up duplicating a lot of boilerplate between repos? Maybe that can be factored out? |
Also, this code should be running wrapper unit tests, such as state wrapper fuzz: Lines 702 to 720 in 0ac6849
|
Note that in https://github.com/phetsims/phet-io-wrappers/issues/292 we dropped the ability to fuzz test studio as part of the qunit test. It would be good to recover that test. |
…Client postMessageToParent parameter, #76
Today @samreid and I added wrapper fuzzing to continuous testing. We did this by adding postMessage callbacks within |
@samreid I think that https://github.com/phetsims/phet-io-wrappers/commit/53953f910a6a530c01e50b0bb447fb6a5183d2c6 will fix many CT errors that look like UPDATE: To explain the issue a bit more . . . Because of the async nature of wrappers, studio isn't smart enough to know if a dynamic object still exists when studio sends a message to link to one of the dynamic element's sub Properties. As a result we created |
The change seems appropriate, thanks! |
I think this issue is complete and can be closed. Problems identified in the wrapper fuzzing will be opened in new issues. @zepumph what say you? |
Right now we are individually fuzzing studio, state, and mirror inputs wrappers. Are there any others that we would like to add? If not please close. |
That seems great, thanks! Closing. |
From https://github.com/phetsims/phet-io-wrapper-sonification/issues/84 and other discussions while creating tests for PhET-iO wrappers, it would be nice to have a list of wrappers and have the sim fuzz in all of them via local aqua tests and on CT.
I'm thinking that each sim's list of testable wrappers would be the list of wrapper suite wrappers (
chipper/data/wrappers
) as well as the supplemental list inpackage.json
created in phetsims/chipper#785.I'm thinking that in phetmarks it would be ideal to have the following tests:
The text was updated successfully, but these errors were encountered: