My webapp has a non-empty production beans.xml with many content under src/main/resources/META-INF.
For my tests only, I need to swap out 1 bean with an alternative.
Where do I put this test-beans.xml and how do I name it,
which contains just this (and not a copy of the content of the real beans.xml?
<?xml version="1.0" encoding="UTF-8"?>
<beans ...>
<alternatives>
<class>...MyTestReplacement</class>
</alternatives>
</beans>
The tests should use the real beans.xml (and seam-beans.xml) with the test-beans.xml.
I am using arquillian and my test classpath is added to ShrinkWrap.