Scala Testing With ScalaTest: Testing Styles for Beginners

preview_player
Показать описание

In this video, we look at how to write tests in various styles with Scala and ScalaTest, and we'll understand how different structures work, what they mean, and what purpose they serve, so you can use them well.

This video is friendly for Scala beginners, but also for people writing tests without making a difference between the various styles (as I personally did when I started out).

Follow Rock the JVM on:

-------------------------------------------------------------------------
-------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

This is what I was looking for exactly 👍🏽

AliJay
Автор

Thanks for such video, as usually it's awesome !!!!

ZoYaBoBo
Автор

Great overview of testing techniques! I would just like to hear a bit more about the difference in capabilities between `should` and `-`

indianbullet
Автор

Hi Daniel! you might know me cause i leave a few comments here and there but im of your students for the beginner Scala course. You wouldn't begin to imagine how pumped i became when hearing the words about the updates for the course!

Regarding this video, I have no knowledge of testing methods and im assuming testing is done by using SBT. I was browsing through your playlist but couldn't find a video regarding beginner sbt. Not even entirely sure if you do have 1, but I was curious if you have a link or any videos that you personally taught for this. Of course there are tonnes of videos out there but its the same as saying there are tonnes of teachers in schools, but 90% of are good at knowing the subject, but bad a teaching the subject.

Thanks! Once again, Im actually SUPPPERRR PUMPED for the updated beginner course. Cant wait to surprise potential employers when im using the Scala 3 style.

shakilhaque
Автор

I mostly use AnyWorkSpecLike, which is the Implementation trait for class AnyWordSpec.

ddevotion
Автор

These videos are great. Can you make a video where you explain all the use cases of implicits?
I mean, they are not only used for DI and Polymorphism. I was checking ZIO codebase last day and found this
(inside class Has[A])
def get[B](implicit ev: Self <:< Has[B], tagged: Tag[B]): B
where he uses the implicit to check conditions, would be useful to learn more about it!

buthow
Автор

Which sbt commands should i run (without intellij idea)

alaindevos
Автор

This was great! Do you show unit testing Spark applications in any of your courses? Couldn't find it on Udemy.

sassydesi
Автор

I'm new to Scala and I have a question. Because I have to use this structure of folders for the test classes, assuming that my functions that must be tested are in main/scala how can I import these functions to test?

vitorfilho
Автор

what is different between scala check and scala test ?

胡超-jr
Автор

the only thing that i dont like from ur videos is that white bg from ur slides :'(
it just ruins my vision

glauberbrennon