fcrepo / Fedora-API-Test-Suite

A Standalone testing suite that exercises the requirements in the Fedora API Specification indicating the degree of a server’s compliance with the specification.
Apache License 2.0
3 stars 11 forks source link

Make Notification Event Tests Stronger #321

Open bseeger opened 5 years ago

bseeger commented 5 years ago

Event notification tests in section 6 are functional, but could be more robust. The tests currently count the number of notifications received, knowing how many should be emitted by a fedora implementation, and make sure that a minimum number of events were generated.

That's a good first step, but the tests should really ensure that there are events emitted based on the objects that were acted on. The resource URI information in the event should be examined to see that all the objects changed had events emitted for that change.

awoods commented 5 years ago

Related to: https://github.com/fcrepo/Fedora-API-Test-Suite/pull/320