Skip to content

Commit

Permalink
Mod README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nowsprinting committed Jan 31, 2023
1 parent 2c1e9d0 commit 128f57d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Monkey testing helper library for Unity Test Framework

[![Meta file check](https://github.com/nowsprinting/test-helper.monkey/actions/workflows/metacheck.yml/badge.svg)](https://github.com/nowsprinting/test-helper.monkey/actions/workflows/metacheck.yml)


## Features

Expand All @@ -11,10 +13,7 @@ Run monkey testing for uGUI elements.
[Test]
public async Task MonkeyTesting()
{
var config = new MonkeyConfig
{
Lifetime = new TimeSpan(0, 0, 3, 0), // 3minutes
};
var config = new MonkeyConfig();
var cancellationTokenSource = new CancellationTokenSource();

await Monkey.Run(config, cancellationTokenSource.Token);
Expand Down Expand Up @@ -51,6 +50,12 @@ https://github.com/nowsprinting/test-helper.monkey.git
```


## Limitations

In batchmode, `InteractiveComponent.IsReallyInteractiveFromUser` for UI elements is always false.
Because `UnityEngine.UI.GraphicRaycaster` does not work in batchmode.


## License

MIT License
Expand Down

0 comments on commit 128f57d

Please sign in to comment.