Releases: gdcc/dataverse_tests
0.1.0
This release is the initial, first one of dataverse_tests. It helps you to test the operational requirements of your Dataverse installation and offers a structured workflow to create and remove test data collections.
Overview of the most important changes:
- Tests
- Tests to verify operational requirements and data integrity
- Selenium frontend tests with Firefox and Chrome support
- Modular test architecture, optimized for use on Jenkins or similar build/testing tools
- Utils
- CLI
- Create and remove test data: Create a pre-defined collection of test data and remove it afterwards
- Create user(s)
- dataverse_testdata integration
- dataverse-sample-data integration
- Tested with Dataverse 4.18.1, 5.2, 5.6 and 5.7
For help or general questions please have a look in our README.md or email mail@stefankasberger.at.
Use-Cases
- Installation: Test a fresh, customized Dataverse installation
- Upgrade: Test configuration and data completeness after upgrade
- Migration: Test your data integrity after you migrated a Dataverse instance
- Monitoring: Frequent testing during operation
Test fresh, upgraded or migrated Dataverse installion (DevOp)
Test you Dataverse installation against your operational requirements. Directly after critical changes, like migrate your Dataverse instance, upgrade it to a newer version or install it from scratch. If helps you to check data integrity, user login and other functionalities.
Download metadata from your Dataverse installation (DevOp & Developer)
With utils
you can collect the whole tree (all selected data types like Dataverses, Datasets and Datafiles from one top-node down) with all its metadata. This can be used to dump the metadata of the whole Dataverse instance.
Create a collection of test data (DevOp & Developer)
Create test data for tests, but also for other purposes in a pre-defined, structured way. This helps to improve test quality and automate steps during development.
Monitor your Dataverse installation (DevOp)
Run tests on a frequent base to monitor it's functionality.
Features
testing
Test module (testing/
).
Functionality:
- Modular test architecture, optimized for use on Jenkins or similar build/testing tools
- Selenium frontend tests with Firefox and Chrome support
Tests:
- Data completeness: check if collection of Dataverses, Datasets or Datafiles are accessible
- Login: Shibboleth and normal (frontend)
- Create Dataverse (frontend)
- Search (frontend)
- Registration: ToU (frontend)
- Installation
- OAI-PMH
- API
- robots.txt
- Sitemap
utils
Helper functions (utils/
).
Functions:
- CLI
Commands:
- Create test data: Create a pre-defined collection of test data
- Collect: Collect metadata from a Dataverse tree (starting at the top node). This can be used, to collect the full metadata of all data in your Dataverse installation
- Remove testdata
- Create user
Thanks
Thanks to Vyacheslav Tykhonov (@4tikhonov), GDCC, Daniel Melichar (@dmelichar) and Lars Kaczmirek (@kaczmirek ) for their support for this release.
dataverse_tests is supported by funding as part of the Horizon2020 project SSHOC.