OSGi support within Arquillian is primarily focused on JBoss OSGi. When you test an application using the OSGi, both an embedded and a managed application server deployment are supported. The embedded runtime is purely OSGi, though you could add support for other components manually. The embedded runtime is best for testing out plain embedded OSGi modules. The full application server deployment should be used for any deployments that leverage EJBs or CDI components. The JBoss OSGi runtime in embedded mode may help you run tests in your Java SE application that uses JBoss OSGi; this would have to be your container in the SE mode.
This chapter focuses primarily on how to use the Arquillian OSGi extension to test using JBoss OSGi in your application. We do end up using an early release of the next version of the framework, since support is very limited in the current release.