Unity commands and responses for coeus-python-framework.
Project description
Coeus-Unity
About
Coeus-Unity is a collection of commands and assertions built on coeus-test
package for python. These commands support remote integration tests in Unity with the use of the C# Coeus test framework.
Setup
Simply install the requirement into your package.
pip install coeus-test-unity
Commands
Commands offer no response validation. You can use assertions for that.
import commands
response = commands.query_transform_exists(cli, "My/Transform Hierarchy/Object (Clone)")
response = commands.query_scene_loaded(cli, "AppSetup")
response = commands.query_renderer_visible(cli, "My/Target/Object (Clone)")
response = commands.await_transform_exists(cli, "My/Transform Hierarchy/Object (Clone)")
# Waits for renderer to become not visible based on False...
response = commands.await_renderer_visible(cli, "My/Transform Hierarchy/Object (Clone)", False)
response = commands.await_scene_loaded(cli, "AppSetup")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
coeus-test-unity-0.1.5.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for coeus_test_unity-0.1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6cd5b49002369fcbdca54c08250ffe6c1c2d91ec314cc7c07ffaca7ebeed441 |
|
MD5 | 1b688a37013a31eeb0c828e84d7554e6 |
|
BLAKE2b-256 | 6a93a9b0346d1f9e6cc167cfac32b5a2489b058a4635c3a6d166a4117e147cd7 |