Testing
Run tests in Unity project
Follow Quick install to setup Asylum Unity SDK example
Follow Docker setup to install and run Creator Studio in Docker
cautionTests are expecting specific items minted on the chain. Please run the following commands in
asylum-ui
root folder to reseed data with items:yarn docker:restart:node
yarn docker:seed:with-itemsor use
yarn docker:test:up
insteadyarn docker:up
:yarn docker:test:up
Open two windows: Window/General/Test Runner and Window/Analysis/Code
In the Code Coverage window click Enable Code Coverage
In Test Runner windows select Play Mode and click Run All
Open generated code coverage report (
index.html
) in browser
info
If you're running Asylum SDK tests in existing project, you have to install Unity Test Framework and Unity Code Coverage Asset