Skip to content

Merge pull request #30 from Tarmil/dependabot/github_actions/dot-gith… #134

Merge pull request #30 from Tarmil/dependabot/github_actions/dot-gith…

Merge pull request #30 from Tarmil/dependabot/github_actions/dot-gith… #134

GitHub Actions / Unit tests (macos-latest) succeeded Nov 26, 2024 in 0s

120 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
bin/testresults/_Mac-1732618354847_2024-11-26_11_03_53.trx 60✅ 688ms
bin/testresults/_Mac-1732618354847_2024-11-26_11_03_59.trx 60✅ 6s

✅ bin/testresults/_Mac-1732618354847_2024-11-26_11_03_53.trx

60 tests were completed in 688ms with 60 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
FSharp.Data.LiteralProviders.Tests.Conditional+Bool 7✅ 56ms
FSharp.Data.LiteralProviders.Tests.Conditional+Int 7✅ 2ms
FSharp.Data.LiteralProviders.Tests.Conditional+String 3✅ 1ms
Tests.BuildDate 3✅ 9ms
Tests.Env 14✅ 3ms
Tests.Exec 7✅ 13ms
Tests.TextFile 19✅ 3ms

✅ FSharp.Data.LiteralProviders.Tests.Conditional+Bool

✅ and
✅ equal
✅ if
✅ not
✅ not equal
✅ or
✅ xor

✅ FSharp.Data.LiteralProviders.Tests.Conditional+Int

✅ equal
✅ greater than
✅ greater than or equal
✅ if
✅ less than
✅ less than or equal
✅ not equal

✅ FSharp.Data.LiteralProviders.Tests.Conditional+String

✅ equal
✅ if
✅ not equal

✅ Tests.BuildDate

✅ Formatted build date
✅ Local build date is in local format
✅ Utc build date is in UTC format

✅ Tests.Env

✅ Garbage variable with default is default
✅ Garbage variable with default is not set
✅ Garbage variable without default is empty string
✅ Garbage variable without default is not set
✅ HOME is non-empty
✅ HOME with default is non-empty
✅ HOME with default is set
✅ HOME without default is non-empty
✅ HOME without default is set
✅ Random var from env file is available directly
✅ Random var from env file is set
✅ Random var from env file with LoadEnvFile false is not set
✅ Value as bool
✅ Value as int

✅ Tests.Exec

✅ single line excludes newline
✅ with directory
✅ with directory failure
✅ with EnsureSuccess false
✅ with error code
✅ with success
✅ with timeout

✅ Tests.TextFile

✅ Binary file is recognized as not text
✅ File in base dir exists
✅ File in subdir exists
✅ Full path is correct
✅ Non-existent with default doesn't exist
✅ Non-existent with default is default value
✅ Non-existent without default doesn't exist
✅ Non-existent without default is empty string
✅ Parent directory
✅ Parent of parent directory
✅ Parent of subdirectory
✅ Regression #12 - Strip BOM
✅ Text as bool
✅ Text as int
✅ Text file is read
✅ Text file with default contents
✅ Text file with default exists
✅ Text file without default contents
✅ Text file without default exists

✅ bin/testresults/_Mac-1732618354847_2024-11-26_11_03_59.trx

60 tests were completed in 6s with 60 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
FSharp.Data.LiteralProviders.Tests.Conditional+Bool 7✅ 507ms
FSharp.Data.LiteralProviders.Tests.Conditional+Int 7✅ 57ms
FSharp.Data.LiteralProviders.Tests.Conditional+String 3✅ 17ms
Tests.BuildDate 3✅ 209ms
Tests.Env 14✅ 36ms
Tests.Exec 7✅ 117ms
Tests.TextFile 19✅ 38ms

✅ FSharp.Data.LiteralProviders.Tests.Conditional+Bool

✅ and
✅ equal
✅ if
✅ not
✅ not equal
✅ or
✅ xor

✅ FSharp.Data.LiteralProviders.Tests.Conditional+Int

✅ equal
✅ greater than
✅ greater than or equal
✅ if
✅ less than
✅ less than or equal
✅ not equal

✅ FSharp.Data.LiteralProviders.Tests.Conditional+String

✅ equal
✅ if
✅ not equal

✅ Tests.BuildDate

✅ Formatted build date
✅ Local build date is in local format
✅ Utc build date is in UTC format

✅ Tests.Env

✅ Garbage variable with default is default
✅ Garbage variable with default is not set
✅ Garbage variable without default is empty string
✅ Garbage variable without default is not set
✅ HOME is non-empty
✅ HOME with default is non-empty
✅ HOME with default is set
✅ HOME without default is non-empty
✅ HOME without default is set
✅ Random var from env file is available directly
✅ Random var from env file is set
✅ Random var from env file with LoadEnvFile false is not set
✅ Value as bool
✅ Value as int

✅ Tests.Exec

✅ single line excludes newline
✅ with directory
✅ with directory failure
✅ with EnsureSuccess false
✅ with error code
✅ with success
✅ with timeout

✅ Tests.TextFile

✅ Binary file is recognized as not text
✅ File in base dir exists
✅ File in subdir exists
✅ Full path is correct
✅ Non-existent with default doesn't exist
✅ Non-existent with default is default value
✅ Non-existent without default doesn't exist
✅ Non-existent without default is empty string
✅ Parent directory
✅ Parent of parent directory
✅ Parent of subdirectory
✅ Regression #12 - Strip BOM
✅ Text as bool
✅ Text as int
✅ Text file is read
✅ Text file with default contents
✅ Text file with default exists
✅ Text file without default contents
✅ Text file without default exists