.NET 8 FakeTimeProvider

Поділитися
Вставка
  • Опубліковано 4 січ 2024
  • As well as giving us TimeProvider, .NET also brings a predefined mock: FakeTimeProvider. Unfortunately, it doesn't quite work as expected.
    Source code available at: github.com/JasperKent/Timer-T...
    Related videos:
    - .NET 8 Testing Times: • .NET 8 Testing Times
    Topics include:
    - The TimeProvider base class
    - Testing time-based applications
    - Using FakeTimeProvider to set the current time
    - Advancing time
    - Problems with advancing time
    - Problems with terminating timers
  • Наука та технологія

КОМЕНТАРІ • 6

  • @CodingTutorialsAreGo
    @CodingTutorialsAreGo  5 місяців тому

    Do you prefer using NSubstitute or FakeTimeProvider? Leave a comment.
    Source code available at: github.com/JasperKent/Timer-Testing
    Remember to subscribe at ua-cam.com/channels/qWQzlUDdllnLmtgfSgYTCA.html
    And if you liked the video, click the 👍.

  • @georgekopadze791
    @georgekopadze791 4 місяці тому

    I appreciate your time and effort to give us such a great content. Thank you very much. Besides that, I like the sound of your keyboard. Can you share model and key types with us? :)

  • @user-cp8ou7ik8i
    @user-cp8ou7ik8i 4 місяці тому +1

    Nice tie!

  • @phoebekent8490
    @phoebekent8490 5 місяців тому +1

    Nice tie!

  • @user-hd6mr3mb5t
    @user-hd6mr3mb5t 5 місяців тому +1

    Nice tie!

    • @CodingTutorialsAreGo
      @CodingTutorialsAreGo  5 місяців тому

      Thanks, but unlike the previous commenter, you didn't buy it me for Christmas.