discoverygarden / islandora_test_support
Provides helper functions and classes for islandora testing.
Installs: 610
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Type:drupal-module
Requires
- drupal/test_support: ^1
- islandora/islandora: ^2
This package is auto-updated.
Last update: 2024-10-15 19:06:32 UTC
README
WIP. Provides helper functions for writing tests with islandora content types. Includes an abstract kernel test class that can be extended in tests and a content creation trait.
Capabilities include:
- Create a content type and media type with a media of field reference.
- Create a node.
- Create a file.
- Create a media which references an input node in media of field.
- Create access tagged db queries for node, media and files.
- Create an Islandora models taxonomy.
- Create a field on Islandora content type that references the Islandora models taxonomy.
- Create a member of field
- Create node with member of field
- Create original file
Troubleshooting/Issues
Having problems or solved a problem? Contact discoverygarden.