Private server setup for testing
For a more complete and easier to use version of this, checkout Hiryus's project Hiryus/screeps-server-mockup
This is a project that runs the Screeps private server one tick at a time, this allows you to easily check data in between ticks and opens the possibilities for testing bots in a fixed, known environment.
- node 6+
- mongodb
- redis
- Install via
npm install screepers/screeps-server-test
- Write a test script (See test.js for a sample)
- Run test script!
NOTE: While the library itself works in node 6, the example.js file requires node 8 or transpiling due to using async/await