Automattic / Automattic/pym-shortcode

Write PHP tests

Open
#10 0 comments 0 reactions 1 assignee Claimed by @adekbadek View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.