Skip to content

Commit

Permalink
add datetime to runs #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Mar 21, 2024
1 parent 3ea2cad commit 272a163
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"fable": {
"version": "4.9.0",
"version": "4.16.0",
"commands": [
"fable"
]
Expand Down
3 changes: 2 additions & 1 deletion src/Pyxpecto.fs
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,8 @@ module Pyxpecto =
#if !FABLE_COMPILER
System.Console.OutputEncoding <- System.Text.Encoding.UTF8
#endif
System.Console.WriteLine $"🚀 start running {runner.Language.AsLowerCaseString} tests ..."
let time = System.DateTime.Now.ToString("HH:mm:ss yyyy.MM.dd")
System.Console.WriteLine $"🚀 start running {runner.Language.AsLowerCaseString} tests ... [{time}]"
async {
do! run runner
let innerMsgString = $"""{BColors.INFOBLUE}{runner.SumTests}{BColors.ENDC} tests run - {BColors.INFOBLUE}{runner.SuccessfulTests.Value}{BColors.ENDC} passed, {BColors.INFOBLUE}{runner.IgnoredTests.Value}{BColors.ENDC} ignored, {BColors.INFOBLUE}{runner.FailedTests.Value}{BColors.ENDC} failed, {BColors.INFOBLUE}{runner.ErrorTests.Value}{BColors.ENDC} errored"""
Expand Down

0 comments on commit 272a163

Please sign in to comment.