arquillian-core
arquillian-core copied to clipboard
ARQ-918 Add @ExcludedServices as extensible substitute for @Deployment(testable = false)
This pull request builds on ARQ-917 since it's necessary to make the changes for both deployment methods and fields.
- Add @ExcludeServices as an extensible substitute for @Deployment(testable=false)
- Add ServiceType constants to define built-in service groups
- Write tests for @ExcludeServices on deployment method and field
- Add field target element for @OperatesOnDeployment and @ShouldThrowException
- Write missing tests for deployment defined on field
@mojavelinux "@ExcludedServices" sounds better than what we currently have. Alternatively maybe an extra attribute on "@Deployment", e.g. @Deployment(excludedServices=...) could work too?
WDYT?
I trust you judgmenton this. I haven't looked at it in years.
I added a new issue to revisit this since this is so old and needs to be integrated with many changes. #757