This is a Node JS program I wrote which is used to simulate a prototype build of the FOX Controller, which I helped develop throughout 2018 and wrote a unit testing script for.
The reason I wrote a separate emulator is because the original was bloated with too many non-essential libraries and code. It was difficult to navigate, and understand. For the public release of my test script, I decided to reverse-engineer the build and write a stripped-down version that is designed for the unit tests with as little overhead as possible.
- Download a copy of this repository.
- Install third-party packages with
npm install
- To launch the Controller, run
SET DEBUG=fox-controller-app:* & npm start
- Download a copy of fox-controller-app-tests and place it in the same root folder as 'fox-controller-app'
- Run
npm install
on the test script. - Run
npm test
to execute the test script. - Refer to fox-controller-app-tests for further instructions on running the test script.
Build | Size | Libraries | Front-End |
---|---|---|---|
Prototype | At least 63MB | Too Many | Angular |
Emulator | Approx. 9MB | Minimal | Raw HTML |
This project is licensed under MIT. It is only intended to be used with the test script I wrote for the FOX Controller but you are free to use this as a basis for your own projects.
This project is the result of reverse-engineering a prototype build of the FOX Controller dated approximately 29 November 2018. All of the code written here is original unless strictly necessary to comply with unit tests. A local copy of the build was kept and used with permission from ControlX Engineering (Known as 'Optim Controls' at the time) as a then-employee.
I only claim copyright for the unit testing script and the emulator. I do not take any ownership of the FOX Controller product or ControlX Engineering as a company. The usage and sharing of this repository does not imply endorsement from ControlX Enginnering and how you use this software is your responsibility.