Easy, Fast, and Free!
Launch sites in < 5 seconds!
Demo, Develop, and Deploy.
Share recipes and templates.
Free for 30 days.
Drupal CMS AI Agents Testing Framework
Test Framework.
This is a template to try out and launch the tests of the Agents in Drupal CMS. This will allow you to create more tests and groups of tests and run them. Fantastic for trying out different providers and models to see how well they run Drupal CMS.
A Video can be found here:
The template is built from here: https://github.com/drupalforge/drupal_cms_ai_agents_test_framework
You can download the module and get started locally instead here: https://www.drupal.org/project/ai_agents_test
Getting Started
- You will likely need more credits than Drupalforge gives for free. So you can go to Configuration -> AI -> AI Providers and add your own anthropic or OpenAI key.
- To get back to the Tests go to Content in the navigation and select "Agent Tests" as one of the tabs.
- Then go to the sub-tab "Test Groups" This is the best place to run the tests.
- Select a Group, click the little arrow on the most right bit of the screen and select Run test groups.
- You can also see the results or go into details of the tests to see all the steps.
- Note: These tests actually run on the drupal site, if the tests as for content to be created, actual content is created on the site (so the next test in the group can rely on that content existing). Therefore they can't easily be re-run unless you delete everything and start again.
- Tests and Test groups can be exported and imported, they are YAML files. We don't have a good way of storing those tests for other modules yet (Do you put it in the module itself, make a new module just for testing? Put them all in the above module?)
Our Goal is to make it so that these tests can also run in a CI/CD environment and test the latest version of Drupal CMS. You could also have a go creating your own tests entirely through the UI and add a test group. Or adding content types and modules and running tests on those.
We hope to make it easy to submit tests but you could try by adding things to the github repo above.
Happy testing!
Frequently Asked Questions
Simplytest is a great service. We were in fact inspired by it. If you have not tried it, you should try it out. Seriously. Here's the link. Drupal Forge is a community service - just like Simplytest. Here are the similarities and differences:
- Like Simplytest, Drupal Forge (DF) lets you create 6 hour temporary disposable Drupal Dev sites.
- On DF, you can optionally add a Cloud Dev Environment (CDE) to your Drupal Dev sites.
- With a CDE, your Dev sites are automatically paused at after 6-hours instead of getting deleted.
- You can un-pause your sites and continue where you left off.
- You can keep extending the working life of your Dev sites (in increments of 6 hours).
- With a CDE, you get a browser-based VS Code IDE (aka Cloud IDE), pre-installed with Composer and Drush.
- Full access to the MySQL database with PhpMyAdmin - a browser-based db admin tool.
- Invite and collaborate with other developers on the Code IDE - think parallel programming.
- Download your site and use it on your Local Dev Environment.
- Go live with your site - deploy it to an external server on Digital Ocean, Light Sail, etc. Connect your custom URL to it. Maintain the Dev site on DF.