dotnet test command, it runs by default in quiet mode (--verbosity quiet)
Starting test execution, please wait... A total of 1 test files matched the specified pattern. ds.Invest.Service.Standard.MSTest -> C:\Users\invest\.jenkins\workspace\INVEST_APP_NET6\invest-service\UnitTest\NonDBTest\ ds.Invest.Service.MSTest\bin\Debug\net6.0\ ds.Invest.Service.Standard.MSTest.dll Test run for C:\Users\invest\.jenkins\workspace\INVEST_APP_NET6\invest-service\UnitTest\NonDBTest\ ds.Invest.Service.MSTest\bin\Debug\net6.0\ ds.Invest.Service.Standard.MSTest.dll (.NETCoreApp,Version=v6.0) Microsoft (R) Test Execution Command Line Tool Version 17.6.3 (x64) Copyright (c) Microsoft Corporation. All rights reserved. Starting test execution, please wait... A total of 1 test files matched the specified pattern. Html test results file : C:\Users\invest\.jenkins\workspace\INVEST_APP_NET6\invest-service\UnitTest\NonDBTest\ ds.Invest.Service.MSTest\TestResults\htmlResults_net6.0_20230721094820.html Results File: C:\Users\invest\.jenkins\workspace\INVEST_APP_NET6\invest-service\UnitTest\NonDBTest\ ds.Invest.Service.MSTest\TestResults\invest_SCMNETBUILD2022_2023-07-21_09_47_55.trx Passed! - Failed: 0, Passed: 251, Skipped: 0, Total: 251, Duration: 1 s - ds.Invest.Service.Standard.MSTest.dll (net6.0)
To get some output from the adapter, run it in normal mode, by setting the verbose option to normal / detail
dotnet test --no-restore dsWebAPI.sln --logger "trx" --logger "console;verbosity=normal" dotnet test --no-restore dsWebAPI.sln --logger "trx" --logger "console;verbosity=detailed"
In verbosity normal / detailed will show pass test and execution time for each test.
Starting test execution, please wait... A total of 1 test files matched the specified pattern. D:\NET_CODE\354304_SBLProcessEOD\invest-service\UnitTest\NonDBTest\ds.Invest.Enquiry.Service.Impl.MSTest\bin\Debug\net6.0\ds.Invest.Enquiry.Service.Impl.Standard.MSTest.dll Passed T326715_ProcessRealizedGLFromARAP [1 s] Standard Output Messages: slf4net: The factory resolver AppConfigFactoryResolver returned null from GetProvider(). The fallback no operation logger factory will be used instead. Application information: Application domain: testhost Application path: D:\NET_CODE\354304_SBLProcessEOD\invest-service\UnitTest\NonDBTest\ds.Invest.Enquiry.Service.Impl.MSTest\bin\Debug\net6.0\ Machine name: ADMINPINGLEGION Passed T310100_CalcAvgBookYield_AmortizeMethod_Yield [2 ms] Passed T310100_CalcAvgBookYield_AmortizeMethod_Non [< 1 ms] Passed T333793_CalcAverageYTMPercent_SimpleCase [< 1 ms] Passed T333793_CalcAverageYTMPercent_WhenLocalMarket2IsZero [< 1 ms] Passed T333793_CalcAverageYTMPercent_WhenLocalMarket2IsMoreThan2Digit [< 1 ms] Passed T333793_UpdateAverageYTMPercent_CASH [< 1 ms] Passed T333793_UpdateAverageYTMPercent_BOND [< 1 ms] Passed T333793_UpdateAverageYTMPercent_REPO [< 1 ms] Passed T333793_UpdateAverageYTMPercent_FX [< 1 ms] Passed T333793_UpdateAverageYTMPercent_CCS [< 1 ms] Passed T333793_UpdateAverageYTMPercent_IRS [< 1 ms] Passed T333793_UpdateLocalMarket2_AP [< 1 ms] Passed T333793_UpdateLocalMarket2_AR [< 1 ms] Passed T333793_UpdateLocalMarket2_INVEST_BOND [< 1 ms] Passed T333793_UpdateLocalMarket2_INVEST_STN [< 1 ms] Passed T333793_UpdateLocalMarket2_INVEST_REPO [< 1 ms] Passed T333793_UpdateDataMarketDataByProduct_INVEST_STN [< 1 ms] Passed T333793_UpdateDataMarketDataByProduct_INVEST_FTS_INDEX [< 1 ms] Passed T333793_UpdateDataMarketDataByProduct_INVEST_FTS_INDEX_OTC [< 1 ms] Passed T333793_UpdateDataMarketDataByProduct_INVEST_FX [< 1 ms] Passed T333793_UpdateDataMarketDataByProduct_INVEST_SWAP_FXGainLossCurrencyIdZero [< 1 ms] Passed T333793_UpdateDataMarketDataByProduct_INVEST_SWAP_FXGainLossCurrencyIdNotZero [< 1 ms] Passed T333793_UpdateDataMarketDataByProduct_INVEST_Bond [< 1 ms] Html test results file : D:\NET_CODE\354304_SBLProcessEOD\invest-service\UnitTest\NonDBTest\ds.Invest.Enquiry.Service.Impl.MSTest\TestResults\htmlResults_net6.0_20230721044952.html Results File: D:\NET_CODE\354304_SBLProcessEOD\invest-service\UnitTest\NonDBTest\ds.Invest.Enquiry.Service.Impl.MSTest\TestResults\Chatr_ADMINPINGLEGION_2023-07-21_04_49_35.trx Test Run Successful. Total tests: 24 Passed: 24 Total time: 54.5448 Seconds
Reference
Discover more from naiwaen@DebuggingSoft
Subscribe to get the latest posts sent to your email.