braydoncoyer.hashnode.devEffective Use of beforeEach and afterEach in Angular Unit TestsAs an Angular developer, you may be familiar with the importance of writing unit tests to ensure the reliability and correctness of your code. However, did you know that the lifecycle methods beforeEach and afterEach can be extremely useful when writ...Dec 20, 2022·7 min read
braydoncoyer.hashnode.dev5 Basic Tips for Angular Unit TestingUnit testing provides assurance that your application works as intended by running an automated piece of code that invokes a unit of work (a separate piece of code). The test passes or fails based on an assumption about the behavior of that unit of w...May 31, 2022·5 min read
braydoncoyer.hashnode.devLearn How to Click a Button when Angular Unit TestingButtons play a large part in the user experience of your user interface. Angular makes working with buttons extremely easy, but perhaps you’ve hit a wall when your mindset switches to testing. Should you have unit test cases for button clicks in your...May 27, 2022·8 min read
braydoncoyer.hashnode.devEnable Autocomplete for Tailwind CSS in VSCodeIf you’ve recently found Tailwind CSS, you’re no doubt amazed at how quickly you can write CSS! But you may be wondering if there is a way to add autocomplete in VSCode so you can write Tailwind CSS even more quickly and more efficiently? Absolutely!...Apr 27, 2022·5 min read
braydoncoyer.hashnode.devWhat Makes a Unit Test Valuable?The goal of unit testing is to ensure that your application behaves as expected. However, many unit tests miss the mark, neglecting to provide value to the business and failing to discover defects in the codebase. In this article, we’ll discover how...Apr 25, 2022·5 min read