Skip to content

Commit

Permalink
Add doc for mocha-test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hokein committed Sep 1, 2017
1 parent 10e7951 commit cbf07a5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/mocha-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Mocha Test

Greenworks uses [Mocha](http://visionmedia.github.io/mocha/) framework to test
the steamworks APIs.

Since Greenworks is interacting with Steamworks, you need to create a
`steam_appid.txt` file with a valid Steam Game Application ID
(your own AppID or Steamworks example AppID) in the
`<greenworks_src_dir>/test` directory, in order to run the tests.

```shell
cd <greenworks_src_dir>

./test/run-test
```

See [how to find the application ID for a Steam Game](https://support.steampowered.com/kb_article.php?ref=3729-WFJZ-4175).

0 comments on commit cbf07a5

Please sign in to comment.