pages build and deployment #65
GitHub Actions / Mix Tests on Elixir 1.15.1 / OTP 25
succeeded
May 21, 2024 in 0s
118 passed, 0 failed and 0 skipped
✅ _build/test/lib/logger_json/test-junit-report.xml
118 tests were completed in 11s with 118 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Elixir.LoggerJSON.EctoTest | 3✅ | 1ms | ||
Elixir.LoggerJSON.Formatter.CodeTest | 3✅ | 0ms | ||
Elixir.LoggerJSON.Formatter.MessageTest | 8✅ | 0ms | ||
Elixir.LoggerJSON.Formatter.MetadataTest | 8✅ | 0ms | ||
Elixir.LoggerJSON.Formatter.RedactorEncoderTest | 21✅ | 92ms | ||
Elixir.LoggerJSON.Formatters.BasicTest | 10✅ | 4s | ||
Elixir.LoggerJSON.Formatters.DatadogTest | 16✅ | 3s | ||
Elixir.LoggerJSON.Formatters.ElasticTest | 18✅ | 222ms | ||
Elixir.LoggerJSON.Formatters.GoogleCloudTest | 22✅ | 4s | ||
Elixir.LoggerJSON.PlugTest | 6✅ | 2ms | ||
Elixir.LoggerJSONTest | 3✅ | 2ms |
✅ Elixir.LoggerJSON.EctoTest
✅ test telemetry_logging_handler/4 allows disabling logging at runtime
✅ test telemetry_logging_handler/4 logs ecto queries received via telemetry event
✅ test attach/3 attaches a telemetry handler
✅ Elixir.LoggerJSON.Formatter.CodeTest
✅ test format_function/3 returns the module, function name, and arity
✅ test format_function/2 returns the module and function name
✅ test format_function/2 returns the function name
✅ Elixir.LoggerJSON.Formatter.MessageTest
✅ test format_message/3 formats report with default behavior
✅ test format_message/3 formats reports with complex callback and binary formatting
✅ test format_message/3 formats general message using Logger.Utils.scan_inspect
✅ test format_message/3 formats structured messages without callback correctly
✅ test format_message/3 formats binary messages correctly
✅ test format_message/3 formats crash messages correctly
✅ test format_message/3 formats reports with callbacks for binary formatting
✅ test format_message/3 formats reports with custom callbacks altering the data
✅ Elixir.LoggerJSON.Formatter.MetadataTest
✅ test take_metadata/2 takes metadata :all rule and returns a map with all keys
✅ test take_metadata/2 returns reserved keys if they are listed explicitly
✅ test take_metadata/2 does not return reserved keys
✅ test update_metadata_selector/2 takes metadata keys and returns a map with the given keys
✅ test update_metadata_selector/2 takes metadata :all_except rule and returns a map with the given keys
✅ test update_metadata_selector/2 takes metadata :all rule and updates it to exclude the given keys
✅ test take_metadata/2 takes metadata :all_except rule and returns a map with all keys except listed ones
✅ test take_metadata/2 takes metadata keys list and returns a map with the given keys
✅ Elixir.LoggerJSON.Formatter.RedactorEncoderTest
✅ test encode/2 strips structs when Jason.Encoder is derived for them
✅ test encode/2 doesn't choke on things that look like keyword lists but aren't
✅ test encode/2 allows numbers
✅ test encode/2 inspects functions
✅ test encode/2 converts nested tuples to nested lists
✅ test encode/2 formats nested structures
✅ test encode/2 redacts values in structs
✅ test encode/2 strips Structs
✅ test encode/2 allows printable strings
✅ test encode/2 converts non-string map keys
✅ test encode/2 redacts values in maps
✅ test encode/2 redacts values in keyword lists
✅ property encode/2 converts any term so that it can be encoded with Jason
✅ test encode/2 allows booleans
✅ test encode/2 converts keyword lists to maps
✅ test encode/2 allows nils
✅ test encode/2 allows atoms
✅ test encode/2 inspects pids
✅ test encode/2 converts tuples to lists
✅ test encode/2 redacts nested structures
✅ test encode/2 inspects non-printable binaries
✅ Elixir.LoggerJSON.Formatters.BasicTest
✅ test logs exceptions
✅ test logs OpenTelemetry span and trace ids
✅ test logs metadata
✅ test logs span and trace ids
✅ test logs message of a given level
✅ property allows to log any structured messages
✅ property allows to log any binary messages
✅ test logs message with a keyword payload
✅ test logs http context
✅ test logs message with a map payload
✅ Elixir.LoggerJSON.Formatters.DatadogTest
✅ test logs span and trace ids
✅ test logs hostname
✅ test logs reasons in tuple
✅ test logs exceptions
✅ test does not crash when OpenTelemetry span or trace ids are invalid
✅ test logs OpenTelemetry span and trace ids
✅ test logs an LogEntry of a given level
✅ test logs exits
✅ test logs process exits
✅ test logs throws
✅ property allows to log any structured messages
✅ test logs http context
✅ property allows to log any binary messages
✅ test logs an LogEntry with a keyword payload
✅ test logs metadata
✅ test logs an LogEntry with a map payload
✅ Elixir.LoggerJSON.Formatters.ElasticTest
✅ test logs metadata
✅ test logs exception http context
✅ test logs span and trace ids
✅ test logs reasons in tuple
✅ test logs exceptions with id and code
✅ test does not crash on invalid OTEL span and trace ids
✅ test does not crash on invalid span and trace ids
✅ test logs message with a keyword payload
✅ test logs exits
✅ test logs process exits
✅ test logs throws
✅ test logs message with a map payload
✅ test logged exception stacktrace is in default Elixir format
✅ test logs message of every level
✅ test logs OpenTelemetry span and trace ids
✅ test logs http context
✅ test logs exceptions
✅ test logs an LogEntry with a map payload containing message
✅ Elixir.LoggerJSON.Formatters.GoogleCloudTest
✅ test logs span and trace ids
✅ test logs exception http context
✅ test logs an LogEntry with a keyword payload
✅ test logs exception user context
✅ test does not crash on invalid OTEL span and trace ids
✅ test logs throws
✅ test logs span and trace ids without project_id
✅ test logs OpenTelemetry span and trace ids
✅ test logs an LogEntry of a given level
✅ test logs reasons in tuple
✅ test logs exceptions
✅ test logged exception stacktrace is in Ruby format for Elixir errors
✅ test logs metadata
✅ test logs process exits
✅ property allows to log any structured messages
✅ test logs request id
✅ property allows to log any binary messages
✅ test logs an LogEntry with a map payload
✅ test logs http context
✅ test does not crash on invalid span and trace ids
✅ test logs exits
✅ test logs an LogEntry when an operation
✅ Elixir.LoggerJSON.PlugTest
✅ test telemetry_logging_handler/4 allows disabling logging at runtime
✅ test telemetry_logging_handler/4 logs unsent connections
✅ test telemetry_logging_handler/4 logs request latency and metadata
✅ test attach/3 attaches a telemetry handler
✅ test telemetry_logging_handler/4 logs long-running responses
✅ test telemetry_logging_handler/4 logs chunked responses
✅ Elixir.LoggerJSONTest
✅ test configure_log_level/1 raises on invalid log level
✅ test configure_log_level/1 configures log level
✅ test configure_log_level_from_env/1 configures log level from environment variable
Loading