You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.