Dany Paredesdanywalls.com·Apr 23, 2024Testing in Angular: Replace Karma to Web Test RunnerI was writing an article for Kendo about testing in Angular, but with the deprecation of Karma, I had some questions about the future of testing in Angular. I'm using Jest for my personal and professional projects, along with the Angular testing libr...Discuss·945 readsAngularTesting
Yashi k tanejathatweiredteenager.hashnode.dev·Feb 10, 2024Accepting your own mistakesI know I know, we all are humans we all make mistakes, and one thing that was with us since the beginning was that we should apologies for our mistakes and we should forgive people for their own mistakes, Now there is no misdeed to do that but in my ...Discuss·32 readskarma
Senbagaraman Msenbagaraman04.hashnode.dev·May 29, 2023Unit Testing in Angular (General Intro)Unit Testing is where a little to medium part of work is consumed for many developers' life. Many organizations expect the code to be unit tested against a predefined benchmark to avoid surprises at the last minute. “Test Driven Development” is one o...Discussunittesting
Anant Singh Raghuvanshianantraghuvanshi.hashnode.dev·Mar 1, 2023Testing Angular Apps with Jasmine and Karma: A Comprehensive GuideIntroduction Unit testing is a critical component of software development, and Angular provides a robust testing framework. The testing framework comprises Jasmine, a popular JavaScript testing library, and Karma, a test runner, that can be used to e...Discuss·51 likes·71 reads2Articles1Week
Sunny Singh98sunny.hashnode.dev·Aug 8, 2022Creating and test components in Angularcreating a component ng g c components/posts --skip-tests This line will not generate the test file. We will make it later. This component will try to get the posts and delete the posts. Code of the postComponent is given below: export class PostsCom...Discuss·45 readsTesting
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 ...Discuss·10 likes·45 readsunit test
Alan Linsalanlins.hashnode.dev·Jun 18, 2022Understanding the keyword ‘this’ in JavaScriptIntroduction The keyword this works differently for javascript language. It can change its value depending on how it is called. After facing many issues, I wrote this article explaining how it works with just 4 rules to simplify the understanding and...Discuss·1 like·52 readsthis
Tomas Alabestomasalabes.me·May 1, 2016Webpack (AMD) + Karma + MochaHere's the situation: You bundle your app/library with output.libraryTarget = amd (and for the sake of the example let's say that also output.library = "myLibrary") You want to test it using Mocha You want to run your tests using Karma I had a few ...Discusswebpack