Skip to content

v4.5 - Add option to API to disable auto-insertion of tests

Latest
Compare
Choose a tag to compare
@iaincollins iaincollins released this 11 Mar 09:45
· 11 commits to master since this release

The option auto can now be specified as an option when using the API (example usage).

When set to false it disables the automatic insertion of tests for structured data that is auto-detected and will only perform tests explicitly specified (either via the tests argument, or in any Presets specified).

This reduces the number of tests performed, which can improve performance and make debugging easier - although it may mean errors are missed as more sophisticated built-in structured data tests are added over time.

This option defaults to true (i.e. the default behaviour remains unchanged).