Published inHeroDevs·Apr 28Run Protractor Tests in Cypress: The Magic of EndBridgeRun your Protractor tests in Cypress — without rewriting them — The End is Near August 2023 will see the end of life for Protractor. So what does that mean for the thousands of companies with end-to-end tests written in Protractor? Until now, you’ve only had two really poor choices: Stick with an old, archaic product Spend a ton of money and time migrating to…Protractor4 min readProtractor4 min read
Published inngconf·May 1, 2021Is Code an Asset or a Liability?I was listening to a podcast about writing quality code recently, and since we just announced the Reliable Web Summit, this topic has been on my mind. Is code an asset or a liability? I think this is a question that not all developers have pondered, and a fundamental understanding…Development2 min readDevelopment2 min read
Published inngconf·Mar 5, 2021You Should ThrowYour Unit Tests AwayI don’t mean that you shouldn’t write unit tests. You definitely should. But you shouldn’t feel bad deleting unit tests when you have some that are no longer relevant. This usually happens due to refactoring, but also happens due to requirements changes. In these cases, your first impulse should be…Angular2 min readAngular2 min read
Published inThinkster.io·Dec 3, 2020Const Is A Lie In JavaScript & Mastering Unit TestingLately, I’ve been posting a bunch of really fun content in a series called Mastering Unit Testing on Twitter. The latest tweet is here on the difference between DAMP and DRY in unit testing. Please go give it a look and like/retweet. Const is a Lie in JavaScript The const keyword in JavaScript is a lie…JavaScript2 min readJavaScript2 min read
Published inThinkster.io·Nov 16, 2020Don’t Use The Date ObjectJavaScript has a nice Date Object. It can do all kinds of cool things like tell you the current date and time, etc. Lots of languages have a similar facility. And you shouldn’t use it. By that I mean, you shouldn’t use it directly. Let me clarify a little bit…JavaScript3 min readJavaScript3 min read
Published inThinkster.io·Nov 12, 2020What’s new in Angular 10Angular 10 is out. Knowing all the newest features of a tool can be very important. So let’s break down what’s new in Angular 10: A big fat nothing See #1 Yeah, honestly, there’s really nothing new. Ok, there are a couple of tiny changes: Angular Material has a new…Angular2 min readAngular2 min read
Published inThinkster.io·Nov 9, 2020Has The Modern Web Made Things Better?There’s been some fascinating discussion and debate recently about the modern web, and whether what we often take for granted as “the right way to do things” is really better than “the old way”. A lot of this has been centered around Hey.com, the new email service that’s taking the…JavaScript4 min readJavaScript4 min read
Published inThinkster.io·Nov 5, 2020Beware of Vanilla JSI like to paint miniature figures for Star Wars (pics below for anyone who may be interested). It’s about the geekiest of hobbies. The other day I was on a website buying custom bases for these figures. This site was out of the US, and the default currency was not…JavaScript4 min readJavaScript4 min read
Published inThinkster.io·Oct 30, 2020The Tricky Part of Validation Attributes in AngularIn my free course on the Fundamentals of Angular, there are just over 2 hours of content on template-driven forms in Angular. One of the main parts of this is coverage of how to validate user input. This is an important part of any framework’s forms handling. But in Angular…Angular2 min readAngular2 min read
Published inngconf·Oct 16, 2020Angular Date Parsing GotchasDates in JavaScript and Angular can be dangerous if you don’t know what you’re doing. Let’s look at how to avoid potential bugs by gaining a fundamental understanding of JavaScript and Angular date handling and the quirks that come along with that. To start off with, you need to understand…Angular4 min readAngular4 min read