Skip to content

Releases: tjohnston-softdev/fox-controller-app-tests

Security Update (2022-11-28)

28 Nov 07:34
Compare
Choose a tag to compare

Updated 'mocha' and 'chai' to fix security issue as of 28 November 2022.

2022 Revision

28 Jan 02:03
Compare
Choose a tag to compare

Changes

  • Applied 2022 copyright to MIT license.
  • Updated packages:
    • mocha
    • chai
    • needle
    • sinon
  • Changed execution command.
    • Before: npm test
    • After npm run tests --mode=example
  • Test mode is now entered through a command line argument and not a prompt.
  • Uninstalled 'prompt-sync'
  • Removed unnecessary requirements from main file
  • Wrote detailed error message for invalid mode.
  • Local 'validator' files unchanged.
  • Compressed 'common-errors' text writing code
  • Compressed API URL writing code
  • Deleted empty testing files.
  • Changed test part naming format.
    • Before: "part-x_example_tests"
    • After: "00-example_tests"
  • Merged redundant chai testing code for:
    • Checking whether a value actually exists.
    • String type checks.
    • Single arrays.
    • Checks for both populated and empty arrays.
    • Function type checks.
    • External modules.
    • Local scripts.
    • RIO setting properties.
    • Model definitions
    • Controller files
    • Controller APIs
    • Controller restarts
  • Wrote common functions for:
    • Neutral array type check.
    • Boolean type check.
    • Number type check.
    • Optional string type check.
  • Check if single percentage is actual number
  • Minor RIO common changes
    • Device MAC string is optional.
    • Config name string is optional.
    • Wires array is tested correctly.
  • Removed property check functions.
    • Merged into other common functions.
  • Added custom error messages for:
    • Local string validation
    • 'try-catch' tests
  • Removed stray variables from 'local-valid' testing.
  • Simplified Manufacturer name definitions
  • Removed version number from 'package.json'
  • Revised documentation where applicable.

ControlX Rebranding

11 Aug 01:00
Compare
Choose a tag to compare

Updated this repository to reflect Optim's brand change to 'ControlX Engineering'

2021 Revision

19 Jul 05:52
Compare
Choose a tag to compare

FOX Controller test script - 2021 revision.

Public Release

29 Apr 01:21
Compare
Choose a tag to compare

FOX Controller unit testing script. - Public release.

Original Files

26 Apr 00:09
Compare
Choose a tag to compare

This is the FOX Controller unit testing script I wrote for Optim Controls. The files are as of 21st December 2018, which was my last day with the company.