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.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for coeus_test_unity-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c25995cd58b31c88fa6c38e144d37ded6d7b2423cdb38e9657b94d535bae8ef |
|
MD5 | dc9c5bbb7ddd8d18cae481594c1d82de |
|
BLAKE2b-256 | 989f895548c89be4b1d1a11f5fb694d93f4653c72f771b9e2d63908734a9e1de |