approvals
Version:
Approval Tests Library - Capturing Human Intelligence
237 lines • 23.1 kB
text/xml
<testsuites name="Mocha Tests" time="1.789" tests="63" failures="0">
<testsuite name="Root Suite" timestamp="2025-04-14T15:50:24" tests="0" time="0.000" failures="0">
</testsuite>
<testsuite name="AUtils" timestamp="2025-04-14T15:50:24" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/AUtilsTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="find linux executable" timestamp="2025-04-14T15:50:24" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/AUtilsTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="when using linux 'which' to find programs" timestamp="2025-04-14T15:50:24" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/AUtilsTests.mjs" time="0.043" failures="0">
<testcase name="AUtils find linux executable when using linux 'which' to find programs ifconfig should be found once" time="0.041" classname="ifconfig should be found once">
</testcase>
</testsuite>
<testsuite name="fixFilePathSlashes" timestamp="2025-04-14T15:50:24" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/AUtilsTests.mjs" time="0.001" failures="0">
<testcase name="AUtils fixFilePathSlashes should replace back slashes with forward slashes" time="0.000" classname="should replace back slashes with forward slashes">
</testcase>
</testsuite>
<testsuite name="stringifyKeysInOrder" timestamp="2025-04-14T15:50:24" tests="2" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/AUtilsTests.mjs" time="0.002" failures="0">
<testcase name="AUtils stringifyKeysInOrder should return proper string with keys in order" time="0.001" classname="should return proper string with keys in order">
</testcase>
<testcase name="AUtils stringifyKeysInOrder should return proper string with keys in order" time="0.000" classname="should return proper string with keys in order">
</testcase>
</testsuite>
<testsuite name="FileApprover" timestamp="2025-04-14T15:50:24" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/FileApproverTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="when two files match" timestamp="2025-04-14T15:50:24" tests="4" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/FileApproverTests.mjs" time="0.000" failures="0">
<testcase name="FileApprover when two files match should verify two files match" time="0.034" classname="should verify two files match">
</testcase>
<testcase name="FileApprover when two files match should remove the received file" time="0.001" classname="should remove the received file">
</testcase>
<testcase name="FileApprover when two files match should raise an event with the approved file name" time="0.001" classname="should raise an event with the approved file name">
</testcase>
<testcase name="FileApprover when two files match should fail the approver if the writer gives something different" time="0.002" classname="should fail the approver if the writer gives something different">
</testcase>
</testsuite>
<testsuite name="when validating arguments" timestamp="2025-04-14T15:50:24" tests="3" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/FileApproverTests.mjs" time="0.002" failures="0">
<testcase name="FileApprover when two files match when validating arguments should validate namer (parameter 1)" time="0.000" classname="should validate namer (parameter 1)">
</testcase>
<testcase name="FileApprover when two files match when validating arguments should validate writer (parameter 2)" time="0.000" classname="should validate writer (parameter 2)">
</testcase>
<testcase name="FileApprover when two files match when validating arguments should validate reporterFactory (parameter 3)" time="0.000" classname="should validate reporterFactory (parameter 3)">
</testcase>
</testsuite>
<testsuite name="when configuring the Byte Order Mark (BOM)" timestamp="2025-04-14T15:50:24" tests="3" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/FileApproverTests.mjs" time="0.005" failures="0">
<testcase name="FileApprover when configuring the Byte Order Mark (BOM) The approved file should have a BOM" time="0.001" classname="The approved file should have a BOM">
</testcase>
<testcase name="FileApprover when configuring the Byte Order Mark (BOM) The approved file should have a BOM and the local file should not - but shouldn't matter because config says to ignore BOM" time="0.000" classname="The approved file should have a BOM and the local file should not - but shouldn't matter because config says to ignore BOM">
</testcase>
<testcase name="FileApprover when configuring the Byte Order Mark (BOM) The approved file should have a BOM and the local file should not - This should raise an exception because we should be comparing BOMs" time="0.000" classname="The approved file should have a BOM and the local file should not - This should raise an exception because we should be comparing BOMs">
</testcase>
</testsuite>
<testsuite name="StringWriter" timestamp="2025-04-14T15:50:24" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/StringWriterTests.mjs" time="0.000" failures="0">
<testcase name="StringWriter should default to type of txt" time="0.000" classname="should default to type of txt">
</testcase>
<testcase name="StringWriter should allow type to be specified" time="0.000" classname="should allow type to be specified">
</testcase>
<testcase name="StringWriter should write out file" time="0.001" classname="should write out file">
</testcase>
<testcase name="StringWriter should write out file and append EOL" time="0.001" classname="should write out file and append EOL">
</testcase>
<testcase name="StringWriter should write out file and replace line endings" time="0.000" classname="should write out file and replace line endings">
</testcase>
<testcase name="StringWriter should give a useful error message if value is not a string" time="0.000" classname="should give a useful error message if value is not a string">
</testcase>
</testsuite>
<testsuite name="test" timestamp="2025-04-14T15:50:24" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/StringWriterTests.mjs" time="0.002" failures="0">
<testcase name="StringWriter test should write out file and NOT append EOL but warn that it does not have the proper EOL (according to config)" time="0.001" classname="should write out file and NOT append EOL but warn that it does not have the proper EOL (according to config)">
</testcase>
</testsuite>
<testsuite name="approvals" timestamp="2025-04-14T15:50:24" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/approvalsTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="verify" timestamp="2025-04-14T15:50:24" tests="3" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/approvalsTests.mjs" time="0.004" failures="0">
<testcase name="approvals verify can verify some manual text" time="0.000" classname="can verify some manual text">
</testcase>
<testcase name="approvals verify should verify an image" time="0.001" classname="should verify an image">
</testcase>
<testcase name="approvals verify should verify an image 2" time="0.001" classname="should verify an image 2">
</testcase>
</testsuite>
<testsuite name="verifyAsJSON" timestamp="2025-04-14T15:50:24" tests="2" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/approvalsTests.mjs" time="0.002" failures="0">
<testcase name="approvals verifyAsJSON can verify some json object" time="0.001" classname="can verify some json object">
</testcase>
<testcase name="approvals verifyAsJSON can be run with same JSON but keys ordered differently" time="0.000" classname="can be run with same JSON but keys ordered differently">
</testcase>
</testsuite>
<testsuite name="verifyAsJSONAndScrub" timestamp="2025-04-14T15:50:24" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/approvalsTests.mjs" time="0.001" failures="0">
<testcase name="approvals verifyAsJSONAndScrub can verify and scrub some json object" time="0.000" classname="can verify and scrub some json object">
</testcase>
</testsuite>
<testsuite name="When issues are reported on github" timestamp="2025-04-14T15:50:24" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/approvalsTestsReportedIssuesTests.mjs" time="0.001" failures="0">
<testcase name="When issues are reported on github Issue #86: Issues with Buffer Compare Loop" time="0.001" classname="Issue #86: Issues with Buffer Compare Loop">
</testcase>
</testsuite>
<testsuite name="Command Line" timestamp="2025-04-14T15:50:24" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/commandLineTests.mjs" time="0.602" failures="0">
<testcase name="Command Line Should run approvals CLI with basic text input" time="0.602" classname="Should run approvals CLI with basic text input">
</testcase>
</testsuite>
<testsuite name="config.js - " timestamp="2025-04-14T15:50:25" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/configTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="when a config file does not exist in a user's home directory" timestamp="2025-04-14T15:50:25" tests="2" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/configTests.mjs" time="0.003" failures="0">
<testcase name="config.js - when a config file does not exist in a user's home directory should not find config in user home directory" time="0.000" classname="should not find config in user home directory">
</testcase>
<testcase name="config.js - when a config file does not exist in a user's home directory should load default config" time="0.001" classname="should load default config">
</testcase>
</testsuite>
<testsuite name="when a config file exists in a user's home directory" timestamp="2025-04-14T15:50:25" tests="3" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/configTests.mjs" time="0.006" failures="0">
<testcase name="config.js - when a config file exists in a user's home directory should find config in user home directory" time="0.001" classname="should find config in user home directory">
</testcase>
<testcase name="config.js - when a config file exists in a user's home directory should parse and return reporters array" time="0.001" classname="should parse and return reporters array">
</testcase>
<testcase name="config.js - when a config file exists in a user's home directory should load user's config" time="0.001" classname="should load user's config">
</testcase>
</testsuite>
<testsuite name="Namer" timestamp="2025-04-14T15:50:25" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/namerTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="getReceivedFile & approvedFile" timestamp="2025-04-14T15:50:25" tests="2" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/namerTests.mjs" time="0.001" failures="0">
<testcase name="Namer getReceivedFile & approvedFile should format a path that has no trailing separator" time="0.000" classname="should format a path that has no trailing separator">
</testcase>
<testcase name="Namer getReceivedFile & approvedFile should clean up not normalized input" time="0.000" classname="should clean up not normalized input">
</testcase>
</testsuite>
<testsuite name="postRunCleanup" timestamp="2025-04-14T15:50:25" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/postRunCleanupTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="When there is a stale approved file" timestamp="2025-04-14T15:50:25" tests="2" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/postRunCleanupTests.mjs" time="0.001" failures="0">
<testcase name="postRunCleanup When there is a stale approved file should not run when config has it turned off" time="0.000" classname="should not run when config has it turned off">
</testcase>
<testcase name="postRunCleanup When there is a stale approved file should report the invalid file when config is on" time="0.001" classname="should report the invalid file when config is on">
</testcase>
</testsuite>
<testsuite name="Readme" timestamp="2025-04-14T15:50:25" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/readmeTests.mjs" time="0.368" failures="0">
<testcase name="Readme Should not allow the readme docs to get out of sync" time="0.368" classname="Should not allow the readme docs to get out of sync">
</testcase>
</testsuite>
<testsuite name="AggregateReporter" timestamp="2025-04-14T15:50:25" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/AggregateDiffReporterTests.mjs" time="0.127" failures="0">
<testcase name="AggregateReporter should be able to report on a txt file" time="0.127" classname="should be able to report on a txt file">
</testcase>
</testsuite>
<testsuite name="GenericDiffReporterBase" timestamp="2025-04-14T15:50:26" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/GenericDiffReporterBaseTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="default base behavior of" timestamp="2025-04-14T15:50:26" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/GenericDiffReporterBaseTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="isReporterAvailable" timestamp="2025-04-14T15:50:26" tests="3" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/GenericDiffReporterBaseTests.mjs" time="0.002" failures="0">
<testcase name="GenericDiffReporterBase default base behavior of isReporterAvailable should report true if the app is found" time="0.000" classname="should report true if the app is found">
</testcase>
<testcase name="GenericDiffReporterBase default base behavior of isReporterAvailable should report false if the app is not found" time="0.000" classname="should report false if the app is not found">
</testcase>
<testcase name="GenericDiffReporterBase default base behavior of isReporterAvailable should only look up on fs once" time="0.000" classname="should only look up on fs once">
</testcase>
</testsuite>
<testsuite name="ReporterFactory" timestamp="2025-04-14T15:50:26" tests="4" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/ReporterFactoryTests.mjs" time="0.000" failures="0">
<testcase name="ReporterFactory Should load specific reporters" time="0.001" classname="Should load specific reporters">
</testcase>
<testcase name="ReporterFactory Should report all available if incorrect name specified" time="0.000" classname="Should report all available if incorrect name specified">
</testcase>
<testcase name="ReporterFactory Should load all reporters" time="0.001" classname="Should load all reporters">
</testcase>
<testcase name="ReporterFactory should be able to report on a txt file" time="0.000" classname="should be able to report on a txt file">
</testcase>
</testsuite>
<testsuite name="When loading an array of reporters" timestamp="2025-04-14T15:50:26" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/ReporterFactoryTests.mjs" time="0.000" failures="0">
<testcase name="ReporterFactory When loading an array of reporters should use the ReporterDiffAggregate" time="0.000" classname="should use the ReporterDiffAggregate">
</testcase>
</testsuite>
<testsuite name="assertValidReporter a valid reporter" timestamp="2025-04-14T15:50:26" tests="4" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/ReporterFactoryTests.mjs" time="0.002" failures="0">
<testcase name="ReporterFactory assertValidReporter a valid reporter should return true for a valid reporter" time="0.000" classname="should return true for a valid reporter">
</testcase>
<testcase name="ReporterFactory assertValidReporter a valid reporter should raise an error when reporter is missing a name" time="0.000" classname="should raise an error when reporter is missing a name">
</testcase>
<testcase name="ReporterFactory assertValidReporter a valid reporter should raise an error when reporter is missing a canReportOn" time="0.000" classname="should raise an error when reporter is missing a canReportOn">
</testcase>
<testcase name="ReporterFactory assertValidReporter a valid reporter should raise an error when reporter is missing a report" time="0.000" classname="should raise an error when reporter is missing a report">
</testcase>
</testsuite>
<testsuite name="When loading every reporter:" timestamp="2025-04-14T15:50:26" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/ReporterFactoryTests.mjs" time="0.550" failures="0">
<testcase name="ReporterFactory When loading every reporter: Should load all the reporters on disk, verify they follow the basic contract etc..." time="0.000" classname="Should load all the reporters on disk, verify they follow the basic contract etc...">
</testcase>
</testsuite>
<testsuite name="Scrubbers" timestamp="2025-04-14T15:50:26" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Scrubbers/indexTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="multiScrubber" timestamp="2025-04-14T15:50:26" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Scrubbers/indexTests.mjs" time="0.000" failures="0">
<testcase name="Scrubbers multiScrubber should use each scrubber" time="0.000" classname="should use each scrubber">
</testcase>
</testsuite>
<testsuite name="MochaNamer" timestamp="2025-04-14T15:50:26" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Providers/Mocha/MochaNamerTests.js" time="0.000" failures="0">
</testsuite>
<testsuite name="when given a mocha context" timestamp="2025-04-14T15:50:26" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Providers/Mocha/MochaNamerTests.js" time="0.000" failures="0">
<testcase name="MochaNamer when given a mocha context should generate correct name" time="0.000" classname="should generate correct name">
</testcase>
</testsuite>
<testsuite name="Mocha" timestamp="2025-04-14T15:50:26" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Providers/Mocha/MochaTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="when verifying some basic text" timestamp="2025-04-14T15:50:26" tests="2" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Providers/Mocha/MochaTests.mjs" time="0.002" failures="0">
<testcase name="Mocha when verifying some basic text should work" time="0.001" classname="should work">
</testcase>
<testcase name="Mocha when verifying some basic text should verifyAsJSON" time="0.000" classname="should verifyAsJSON">
</testcase>
</testsuite>
<testsuite name="All reporters must conform to naming convention" timestamp="2025-04-14T15:50:26" tests="2" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/Reporters/AllReportersFollowNamingConentionTests.mjs" time="0.001" failures="0">
<testcase name="All reporters must conform to naming convention should have some reporters" time="0.000" classname="should have some reporters">
</testcase>
<testcase name="All reporters must conform to naming convention should all have prefix names lower case" time="0.000" classname="should all have prefix names lower case">
</testcase>
</testsuite>
<testsuite name="CustomReporter" timestamp="2025-04-14T15:50:26" tests="4" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/Reporters/CustomReporterTests.mjs" time="0.003" failures="0">
<testcase name="CustomReporter allows CustomReporter at method level" time="0.000" classname="allows CustomReporter at method level">
</testcase>
<testcase name="CustomReporter uses global custom reporter" time="0.000" classname="uses global custom reporter">
</testcase>
<testcase name="CustomReporter uses global custom reporter manual verify" time="0.000" classname="uses global custom reporter manual verify">
</testcase>
<testcase name="CustomReporter uses global custom reporter 2" time="0.000" classname="uses global custom reporter 2">
</testcase>
</testsuite>
<testsuite name="Reporter" timestamp="2025-04-14T15:50:26" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/Reporters/IcdiffReporterTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="icdiff" timestamp="2025-04-14T15:50:26" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/Reporters/IcdiffReporterTests.mjs" time="0.001" failures="0">
<testcase name="Reporter icdiff reporter args are correct" time="0.001" classname="reporter args are correct">
</testcase>
</testsuite>
<testsuite name="Reporter" timestamp="2025-04-14T15:50:26" tests="0" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/Reporters/VimDiffReporterTests.mjs" time="0.000" failures="0">
</testsuite>
<testsuite name="vimdiff" timestamp="2025-04-14T15:50:26" tests="1" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/Reporters/VimDiffReporterTests.mjs" time="0.000" failures="0">
<testcase name="Reporter vimdiff reporter args are correct" time="0.000" classname="reporter args are correct">
</testcase>
</testsuite>
<testsuite name="multiReporter" timestamp="2025-04-14T15:50:26" tests="2" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Reporting/Reporters/multiReporterTests.mjs" time="0.001" failures="0">
<testcase name="multiReporter should use a multiple reporter" time="0.001" classname="should use a multiple reporter">
</testcase>
<testcase name="multiReporter It should error propertly" time="0.000" classname="It should error propertly">
</testcase>
</testsuite>
<testsuite name="Mocha Typescript Approvals" timestamp="2025-04-14T15:50:26" tests="2" file="/home/runner/work/Approvals.NodeJS/Approvals.NodeJS/test/Providers/Mocha/Typescript/MochaTests.mjs" time="0.002" failures="0">
<testcase name="Mocha Typescript Approvals verify from function" time="0.000" classname="verify from function">
</testcase>
<testcase name="Mocha Typescript Approvals verify from lambda" time="0.001" classname="verify from lambda">
</testcase>
</testsuite>
</testsuites>