I think it's great you're teaching unit testing!
I agree that it's harder to learn at a later stage. I am a student myself, and my university doesn't teach unit testing.
When I started working I needed to learn about unit testing and it was very hard for me. It took me a while to understand it.
Which language do you teach? do you teach about unit testing frameworks as well?
Rainer is a passionate software developer and loves to work with Angular and Spring. He is a trainer and consultant at AngularArchitects.io and runs ng-news, a weekly Angular newsletter.
Yeah, currently I am teaching Angular and Spring. So TypeScript and Java as programming language. Both have superior testing frameworks like Jasmine/Jest and JUnit & Friends (Mockito, Hamcrest,...).
Honestly, I think that all modern unit testing frameworks share the same mindset. So if you know how to write unit tests and handle mocks/spies properly in one language you can easily do the same in any other language.
I agree, if you understand the principles of unit testing, you can write it in any language.
Have you heard about Typemock maybe? it's a mocking framework for C# and C++. My team and I are working with it and I'm looking for some feedback...
Rainer is a passionate software developer and loves to work with Angular and Spring. He is a trainer and consultant at AngularArchitects.io and runs ng-news, a weekly Angular newsletter.
We use Typemock Isolator. It's a user-friendly tool, that allows us to mock almost anything we need- private and static methods, constructors, ref and out parameters etc...it also integrates with a lot of unit testing frameworks such as NUnit and MSTest.
So far we are satisfied with the product, but I wanted to hear other people's opinions as well...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think it's great you're teaching unit testing!
I agree that it's harder to learn at a later stage. I am a student myself, and my university doesn't teach unit testing.
When I started working I needed to learn about unit testing and it was very hard for me. It took me a while to understand it.
Which language do you teach? do you teach about unit testing frameworks as well?
Yeah, currently I am teaching Angular and Spring. So TypeScript and Java as programming language. Both have superior testing frameworks like Jasmine/Jest and JUnit & Friends (Mockito, Hamcrest,...).
Honestly, I think that all modern unit testing frameworks share the same mindset. So if you know how to write unit tests and handle mocks/spies properly in one language you can easily do the same in any other language.
I agree, if you understand the principles of unit testing, you can write it in any language.
Have you heard about Typemock maybe? it's a mocking framework for C# and C++. My team and I are working with it and I'm looking for some feedback...
For C# I am using Moq. Is there any particular reason why you have chosen Typemock?
We use Typemock Isolator. It's a user-friendly tool, that allows us to mock almost anything we need- private and static methods, constructors, ref and out parameters etc...it also integrates with a lot of unit testing frameworks such as NUnit and MSTest.
So far we are satisfied with the product, but I wanted to hear other people's opinions as well...