Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automated tests #36

Open
mjordan opened this issue Aug 16, 2017 · 2 comments
Open

Add automated tests #36

mjordan opened this issue Aug 16, 2017 · 2 comments

Comments

@mjordan
Copy link
Collaborator

mjordan commented Aug 16, 2017

Since Datastream CRUD writes to a repository, we should be using automated tests to make sure we aren't introducing any regression bugs.

  • islandora_datastream_crud_push_datastreams
  • islandora_datastream_crud_delete_datastreams
  • islandora_datastream_crud_generate_derivatives

The challenge will be to provide tests for all of the options available for these commands.

.travis.yml and installing the Islandora stack are already in place.

mjordan added a commit that referenced this issue Aug 18, 2017
mjordan added a commit that referenced this issue Aug 18, 2017
mjordan added a commit that referenced this issue Aug 18, 2017
mjordan added a commit that referenced this issue Aug 18, 2017
mjordan added a commit that referenced this issue Aug 19, 2017
mjordan added a commit that referenced this issue Aug 19, 2017
@mjordan
Copy link
Collaborator Author

mjordan commented Aug 19, 2017

Basic tests for pushing new datastreams added.

mjordan added a commit that referenced this issue Aug 20, 2017
mjordan added a commit that referenced this issue Aug 20, 2017
mjordan added a commit that referenced this issue Aug 20, 2017
mjordan added a commit that referenced this issue Aug 20, 2017
mjordan added a commit that referenced this issue Aug 20, 2017
mjordan added a commit that referenced this issue Aug 21, 2017
@mjordan
Copy link
Collaborator Author

mjordan commented Aug 21, 2017

Up next, tests for islandora_datastream_crud_push_datastreams:

  • --datastreams_mimetype
  • --datastreams_label
  • --update_object_label
  • --update_dc
  • --datastreams_revert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant