Skip to content

v1.1.0

Latest

Choose a tag to compare

@matheus-delazeri matheus-delazeri released this 09 Apr 23:37
af5a9b5

Added

  • Assertion support via _expected: add an _expected field to any record in your input JSON to automatically verify the formula result. The output table shows a PASS/FAIL column showing exactly what was expected versus what was returned, making it easy to use sf-plugin-formula as a lightweight test runner for your Salesforce formulas.

Fixed

  • Float precision - number formula results are now rounded using the scale from the input variable options, eliminating IEEE 754 drift (e.g. 110.00000000000001 instead of 110).
  • Minor internal fixes and code cleanup.

Documentation

  • Expanded README with practical examples covering conditional formulas, number assertions, and validation rule testing.
  • Added _expected to the input file format reference table.