Usage examples #43
Replies: 5 comments 2 replies
-
Thanks for the feedback! The reason you are not getting any of the logs printed is that instead of yielding something that Unity knows how to execute, you are just yielding the test instruction, which Unity does not understand. To fix this, you'll need to construct a Regarding .ContinueWith(Do("oncontinue", onContinue)) // This seem to just call an Action. But if I dont need to call any Action, can I remove this section? if you don't need to do anything after the previous responder you declared, you don't need this part. For now, you can look at the test suite for examples: https://github.com/sbergen/Responsible/tree/main/Assets/Responsible/Tests/Runtime And sorry for the late reply, I missed this in my notifications, will need to tweak my settings! |
Beta Was this translation helpful? Give feedback.
-
@felipeggrod would you mind taking a look at #3 to see if this resolves all your questions? I created a small game and tests for it just to outline how to set things up normally. It also contains improvements in the README. Pleas note that GitHub does not properly support relative links in markdown when in a branch, but the links should work fine once this is merged. |
Beta Was this translation helpful? Give feedback.
-
@sbergen Thanks! I will try to look at it and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
Responsible got added to OpenUPM yesterday, and I'll want to get these documentation changes in main ASAP for people discovering it this way. So I'll be merging #3 soon. @felipeggrod if #3 didn't answer all your questions, feel free to open a new more specific issue for whatever you are missing. |
Beta Was this translation helpful? Give feedback.
-
@felipeggrod if you are still interested in Responsible, I just worked on improving the documentation quite a bit, including an API reference. Together with the example tests, I'm hoping it would now be easier for people to get started with Reponsible. But writing easily comprehensible documentation for something you've created yourself can be difficult, so all feedback is welcome! |
Beta Was this translation helpful? Give feedback.
-
Hey, this framework looks amazing! I am trying to use it to test a multiplayer game, but I'm a bit of a noob with UniRx. So, more usage examples would be great for others in a similar situation trying to use it.
Here are some of my issues. This is an example of a client test, waiting for the server to cycle through some rounds:
passed always returns false, the debug.logs dont print anything.
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions