Skip to content

abstractwp/block-unit-test

Repository files navigation

Gutenberg Block Unit Test

License

Screenshot

Testing every core block — and every variation of every block — is no small task. That's why I built the Block Unit Test WordPress plugin. Deploy the Block Unit Test WordPress plugin and review every core Gutenberg block to ensure your theme fully supports Gutenberg.

❓ Why is this a thing?

Coming soon.

🎥 Try Block Unit Test

See Block Unit Test at WP Test Demo

🔌 Installation

  1. Install the offical Gutenberg plugin. Note that Gutenberg is not suggested for use on production sites.
  2. Download the plugin from the WordPress plugin directory.
  3. Activate the Block Unit Test plugin
  4. You will find a new page added, titled "Block Unit Test". Each of the core Gutenberg blocks will be added here for you to start testing.

🔨 Development

  1. Clone the GitHub repository: https://github.com/abstractwp/block-unit-test.git
  2. Browse to the folder in the command line.
  3. Run the npm install command to install the plugin's dependencies within a /node_modules/ folder.
  4. Develop stuff.
  5. Run the build gulp task to process build files and generate a zip.

💣 Bugs

If you find a 🐞 or an issue, create an issue.

💁 Contributions

Please read the guidelines for contributing to the Block Unit Test. Anyone is welcome to contribute!

There are various ways you can contribute:

  1. Raise an Issue on GitHub
  2. Send a pull request with your changes and/or bug fixes
  3. Provide feedback and suggestions on enhancements

🎯 Roadmap

Coming soon

🎉 Spread the Word

Please help support Block Unit Test by:

  • Adding a GitHub Star to the project!
  • Tweet about the project on your Twitter!
  • Leave us a review Block Unit Test!

Thank you so much for your support!

📜 Changelog

1.1.0 version

  • Add: options top fixed twentig/Twenty Twenty(-One) style bugs.

1.0.9 version

  • Update: Pullquote blocks structure.

1.0.8 version

  • Update: Gallery blocks structure.
  • Update: Embed video from wp:core-embed to wp:embed.

1.0.7 version

  • Fix: Broken some blocks and add missing blocks.

1.0.5 version

  • Tweak: Update the CoBlocks and Gutenberg unit tests

1.0.4 version

  • Tweak: Update the CoBlocks unit test

1.0.3 version

  • New: Suggest running a unit test for CoBlocks
  • New: Add a CoBlocks unit test if the plugin is activated
  • New: Add the Archives block to the unit test
  • New: Add styles for the core Separator block
  • New: Add more tests for various column counts

1.0.2 version

  • New: Automagically update the contents of the Block Unit Test page upon plugin update
  • New: Add captions to image, gallery and video blocks
  • Tweak: Add heading levels to heading blocks

1.0.1 version

  • Fix undefined variable $content as per #1

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors