2021 Blockly Developer Summit: Test Helpers
from Google TechTalks Hosted by Google TechTalks
A Google TechTalk, presented by Monica Kozbial, 2021/04/28-29ABSTRACT: This talk was presented as part of the 2021 Blockly Summit. As part of the @blockly/dev-tools plugin, the Blockly team has provided a set of helpers to use with testing, in particular for custom fields and blocks. In this talk, we'll dive into what test helpers are available and how they can help you in your testing.Uploaded 21-04-21Field Test Helpers: https://github.com/google/blockly-samples/blob/%40blockly/dev-tools%402.2.1/plugins/dev-tools/src/field_test_helpers.mocha.jsBlock Test Helperhttps://github.com/google/blockly-samples/blob/%40blockly/dev-tools%402.2.1/plugins/dev-tools/src/block_test_helpers.mocha.js.jsCommon Test Helpers:https://github.com/google/blockly-samples/blob/%40blockly/dev-tools%402.2.1/plugins/dev-tools/src/common_test_helpers.mocha.jssExample tests for runCodeGenerationTestSuites:https://github.com/google/blockly/blob/5.20210325.1/tests/mocha/field_multilineinput_test.js#L100https://github.com/google/blockly-samples/blob/%40blockly/block-plus-minus%402.0.26/plugins/block-plus-minus/test/procedures.mocha.js#L58Developer forum: https://groups.google.com/g/blockly
Embed this episode
No transcript yet.