https://github.com/basssiiie/openrct2-mocks
Unit test mocks for OpenRCT2 plugins
https://github.com/basssiiie/openrct2-mocks
hacktoberfest mocks openrct2 openrct2-plugin
Last synced: 2 months ago
JSON representation
Unit test mocks for OpenRCT2 plugins
- Host: GitHub
- URL: https://github.com/basssiiie/openrct2-mocks
- Owner: Basssiiie
- License: mit
- Created: 2021-07-25T11:59:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T18:31:17.000Z (about 1 year ago)
- Last Synced: 2025-04-11T16:19:17.289Z (2 months ago)
- Topics: hacktoberfest, mocks, openrct2, openrct2-plugin
- Language: TypeScript
- Homepage:
- Size: 725 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unit test mocks for OpenRCT2 plugins
W.I.P.
A small mocking library including a set of mocks I use for writing unit tests for my OpenRCT2 plugins. The mocks try to mimic OpenRCT2 API behaviour as best as possible without actually running the game.
---
## Building the source code
Requirements: [Node](https://nodejs.org/en/), NPM.
1. Open command prompt, use `cd` to change your current directory to the root folder of this project.
2. Run `npm install`.
3. Run `npm run build` (release build) or `npm run build:dev` (develop build) to build the project.
- The default output folder for the package is `(project directory)/dist` and can be changed in `rollup.config.js`.