Automattic / Automattic/pym-shortcode
Write PHP tests
Open
status: needs tests
- Dominant language
- PHP
- Stars
- 15
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
- [ ] `fab wp.tests_setup:pym`
- [x] review code for things that will need to be tested especially
- [x] create list of high-priority tests and low-priority tests
- assume that WordPress settings functions work
- [ ] Write tests for `pym_shortcode( $atts, $context, $tag )`
- [ ] alternate src is included if set
- [ ] otherwise, src is the path in the plugins directory `plugins_url( '/js/pym.js',$whatever_the_pym_plugin_file_path_is )`
- [ ] page contains markup corresponding to placed source code
- [ ] a post with n shortcodes contains each of `echo '
`
Contributor guide
Assessment
This issue has not been assessed yet.