Steve Worthamstevewortham.hashnode.dev·Oct 28, 2024What Is Unit Testing: A Complete Guide With ExamplesHowever, repeatedly testing it can be time-consuming, especially considering all the different operating scenarios it can use or the number of external dependencies involved. Instead, most developers opt for unit testing, where — as the name suggests...Testing
Chirag Choudharyblog.chiragc.com·Jun 1, 2024How We Mastered Unit Testing at Our StartupProblem Statement: At a startup where I joined as the 4th engineer, we faced a production issue every other weekend, which would be every 4th release, primarily due to new team members lacking context on different workflows. Adding documentation for ...1 likeunit testing
Fullchee Zhangfullchee.hashnode.dev·Apr 19, 2024unittest param order is the opposite of Jestwhich is the opposite order for Jestexpect(myVar).toBe(42) assumes the first is expected, second is actual in the error message. self.assertEqual(expected, actual) self.assertEqual(42, my_var) PyCharm even displays Expected and Actual Failure Expect...TIL
Valentin Kvalentink.hashnode.dev·Mar 4, 2024Testing Object-Oriented Python Code: Strategies and ToolsTesting Object-Oriented Python Code: Strategies and Tools Introduction to Testing Object-Oriented Python Code Testing Object-Oriented Python code is essential for ensuring its functionality, reliability, and maintainability. Object-Oriented Programm...It's all about Pythonpython-testing
Sunny Singh98sunny.hashnode.dev·Jul 31, 2022Writing first Angular test and moreThe goal of writing Automated testing is to increase the quality of software. Angular has 2 types of Unit tests: Isolated test- when we are trying to check the functionality of a single function. This means it is not dependent on any other function ...10 likes·45 readsunit test
Erk Ekinerkekin.hashnode.dev·Jun 14, 2022Swift: Unit test ile strong reference cycle yakalamaBurada strong reference cycle'ın ne olduğunu anlatmayacağım ama kısaca bahsedecek olursam, bir reference type instance'ınız olsun A, bunun stored property'lerinden en az birinin kendisi veya nested bir yapı düşünürseniz ağacın yapraklarından biri ger...1 like·103 readsstrong reference cycle
Han Cheecodecultivation.com·Mar 14, 2018How to mock ASP.NET Core Identity?I was having a bit of issue when I tried to test my class which needs UserManager<ApplicationUser> object and RoleManager<IdentityRole> object in constructor method. Both classes are from new membership system called ASP.NET Core Identity. You can le...230 readsunit test