The current CDI 4.0 spec has moved to default bean-discovery-mode "annotated".
All Arquillian tests - I have seen yet - are using Asset.Empty as "beans.xml" which causes all tests to fail - at least on Wildfly-31.0.0. This seems to be in accordance to spec. I propose to replace all - yet unspecific usages of Asset.Empty with the following default: ArchiveUtils: public static final Asset beansXmlAll = new StringAsset("<beans bean-discovery-mode=\"all\"/>") Using this default beans.xml all Arquillian tests in "wildfly-managed" are OK - at least in Deltaspike-Core. Please note, that usage of "<trim/>" is here unwanted, as it makes all default beans unavailable. All test I have seen yet seem to rely heavily on the previous default discovery-mode="all"! Please comment. Thomas