-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow container dsl to run outside of arquillian #963
Comments
I tried doing adding the following
It seems to have injected some fields correctly but it didn't work as expected |
@aahmed-se Can you share your project to understand how are you invoking arquillian-cube with another framework? so maybe I can help you |
it's an in house test framework similar to testng, I need to add custom setup and teardown methods for the containers so need more fine grain control of the process. |
@aahmed-se I would do it differently. I am not an expert of TestNg but maybe you can get the idea from https://github.com/arquillian/arquillian-cube/tree/master/docker/junit-rule/src/main/java/org/arquillian/cube/docker/junit/rule |
If you want to use Arquillian Runner then there is no need to fire event, any configuration in If you don't want to use arquillian runner you have to fire some events by your own to work cube as per expectation
|
In this concrete example and if you are only planning to integrate with this part, then I suggest using the Rule approach in TestNg. If you plan to use more features of Arquillian then what @dipak-pawar suggests is the best way to proceed. |
seems this has been discussed before, is this approach wrong ? |
I am trying to run the container dsl outside the context to arquillian runner , trying to integrate integrate with a custom test framework
As if understand the manager can start as so
what would be the other things that I need to initialize for the container dsl to work ?
The text was updated successfully, but these errors were encountered: