.NET 8 introduces a new TimeProvider abstraction.
It allows time mocking in the test scenarios.
It is supported by other features that rely on time, for example, Task.Delay.
Also, a netstandard 2.0 library Microsoft.Bcl.TimeProvider has been created with this provider.
#dotnet #UnitTesting #time #timezone
Stay ahead of the curve with the latest updates in #dotnet: TimeProvider & ITimer in #dotnet8 Preview 4, universal time abstractions for #DependencyInjection & #UnitTesting.
Dive deeper into the topic with this enlightening #InfoQ article by Artur Ampilogov: https://bit.ly/44c0p7z
#dotnet #dotnet8 #dependencyinjection #UnitTesting #infoq #softwaredevelopment #microsoft
#Tabnine is now opening beta access to new capabilities aimed to generate unit tests.
Tabnine is a code completion assistant that uses generative #AI to predict & suggest the next lines of code based on its surrounding context.
Learn more on #InfoQ: http://bit.ly/3KMjiHo
#tabnine #AI #infoq #UnitTesting
Developers should consider using #FakeObjects instead of #MockObjects!
Fake objects offer similar isolation benefits while driving high confidence, clear documentation & loose coupling between implementation and test code.
#InfoQ article by Tyson Gern: http://bit.ly/3mfL9Wc
#fakeobjects #mockobjects #infoq #UnitTesting #softwaretesting #devops
So I've been doing a bit of research into #web #UnitTesting #tooling (#Jest, #Vitest, #Jasmine, #Karma, #WebTestRunner, ...).
I'm curious if there's any interest in a blog post on some of my takeaways about aspects like:
* Test runners vs test frameworks.
* Browser-based runners vs Node-based runners.
* Changes in the ecosystem.
* Future directions of JS unit testing.
* ...
#web #UnitTesting #tooling #jest #vitest #jasmine #Karma #webtestrunner
I’m learning about writing unit tests. It feels like the elephant in the room I’ve been ignoring. It feels like there is a lot of leg work, especially for testing my db code but I’m hoping that as the app progresses and I write more tests they’ll feel more useful. Do you write and git commit your tests with your code changes or do you write your tests separately and treat them as separate commits? #git #UnitTesting #xunit #entityframework
#git #UnitTesting #xunit #entityframework
Let's add microtests to existing code!
I'll be #LiveCoding 13 hours from now on https://www.twitch.tv/qcoding, working on the TripService #LegacyCode kata in #Swift. #UnitTesting #SwiftLang
#livecoding #LegacyCode #swift #UnitTesting #SwiftLang
Going live in 10 minutes.
RT @gil_zilberfeld@twitter.com
Just a reminder. I'm going to refactor a microservice to patterns today.
Register to the webinar:
https://us02web.zoom.us/webinar/register/3816527847113/WN_sQffXtz9QremPmJ_zveAAA
#software #api #apis #microservices #microservice #webinar #automatedtesting #unittesting #java #junit #python #csharp #javascript #apitesting
🐦🔗: https://twitter.com/gil_zilberfeld/status/1618548045989416960
#software #api #apis #microservices #microservice #webinar #automatedtesting #UnitTesting #java #junit #python #csharp #javascript #apitesting
Just a reminder. I'm going to refactor a microservice to patterns today.
Register to the webinar:
https://us02web.zoom.us/webinar/register/3816527847113/WN_sQffXtz9QremPmJ_zveAAA
#software #api #apis #microservices #microservice #webinar #automatedtesting #unittesting #java #junit #python #csharp #javascript #apitesting
#software #api #apis #microservices #microservice #webinar #automatedtesting #UnitTesting #java #junit #python #csharp #javascript #apitesting
Let's add microtests to existing code!
I'll be #LiveCoding 1.5 hours from now on https://twitch.tv/qcoding, working on the TripService #LegacyCode kata in #SwiftLang. #Swift #UnitTesting
#livecoding #LegacyCode #SwiftLang #swift #UnitTesting
Let's add tests to existing code!
I'll be #LiveCoding 2.5 hours from now on https://twitch.tv/qcoding. I'll be looking at some real-world #Swift #SwiftLang #LegacyCode ("legacy" meaning "without tests"). #UnitTesting
#livecoding #swift #SwiftLang #LegacyCode #UnitTesting
The repository pattern comes from Domain Driven Design. It has a benefits to clean code.
Read my post here:
https://www.linkedin.com/feed/update/urn:li:activity:7019302647463567361
#software #api #apis #microservices #microservice #webinar #testing #automatedtesting #unittesting #java #junit #python #csharp #javascript
#software #api #apis #microservices #microservice #webinar #testing #automatedtesting #UnitTesting #java #junit #python #csharp #javascript
Man, I love the Construction Builder pattern for making test fixtures that vary. #UnitTesting #Microtesting
ViewControllerPresentationSpy now updated for Xcode 14 support.
This is the easiest way to microtest #UIKit view controller presentation and dismissal. #SwiftLang #iOSDev #UnitTesting #UnitTests
https://github.com/jonreid/ViewControllerPresentationSpy/releases/tag/v7.0.0
#unittests #uikit #SwiftLang #iosdev #UnitTesting
It's a new year. Though most iOS devs use `sut` to indicate the Subject Under Test (possibly following my example), I think it's time I change to `subject`. I want to avoid burdening students with terminology, when "test subject" is commonly understood. #iOSDev #UnitTesting
Better yet, a unit is a single state change or new projection of state. No #TDD required.
RT @christianhujer@twitter.com
In unit testing, what's a unit? Is it a method? Is it a class? Is it a module? No. Let's clarify this once and for all.
In unit testing, a unit isn't an element of structure. In unit testing, a unit is an individually observable element of BEHAVIOR.
🐦🔗: https://twitter.com/christianhujer/status/1391301843683139585
It is astonishing at how difficult it is to convince people to automate testing.
#unitTesting #testing #e2e #integratedTesting #UI #UITesting
#UnitTesting #testing #e2e #integratedtesting #ui #uitesting
It was an awesome webinar, I should do that more often. Wait, I do! Stay tuned, next one's going to be awesome too.
https://www.everydayunittesting.com/2022/12/unit-wars-junit-vs-testng-webinar-recording.html
#testing #tdd #automatedtesting #unittesting #java #spring #junit #testng #automation #software #apitesting #integrationtesting
#testing #tdd #automatedtesting #UnitTesting #java #spring #junit #testng #automation #software #apitesting #integrationtesting
TestNG creates detailed suites of tests, more fine grained than JUnit. Does it make it a better tool?
Check out my webinar: https://us02web.zoom.us/webinar/register/3816527847113/WN_IZSJCYJQT92hCffXkPXY5w
#testing #tdd #automatedtesting #unittesting #java #spring #junit #testng #automation #software #apitesting #integrationtesting
#testing #tdd #automatedtesting #UnitTesting #java #spring #junit #testng #automation #software #apitesting #integrationtesting
Can you count to ten? I can. And I'll walk you through TEN differences between JUnit and TestNG.
Register here: https://us02web.zoom.us/webinar/register/3816527847113/WN_IZSJCYJQT92hCffXkPXY5w
#testing #tdd #automatedtesting #unittesting #java #spring #junit #testng #automation #software #apitesting #integrationtesting
#testing #tdd #automatedtesting #UnitTesting #java #spring #junit #testng #automation #software #apitesting #integrationtesting