-
Notifications
You must be signed in to change notification settings - Fork 47
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
Can't test an agent that creates a child coop #36
Comments
Hi! I'll take some time to think about your case. |
It looks like the problem is the absence of any test scenario steps in your test case. You just create a parent coop and then run an empty test scenario by calling Please note that agents created in
|
Thanks for your quick reply. |
Hello, I am using sobjectizer in my work project and trying to write some tests for a simple agent using
testing_env_t
testing environment. I already tested another agent without issues but when I try to test an agent that creates child cooperations I got an error.Some environment info:
sobjectizer 5.7.2
installed from conangcc 11
Simple test agent:
Test code looks like this:
When I run this test I get an exception from sobjectizer:
When I remove
so_5::introduce_child_coop
fromTestAgent::so_evt_start
then all is ok.Am I doing something wrong? How could I test an agent with a child cooperation created inside it?
The text was updated successfully, but these errors were encountered: