A Test-Driven Development Introduction to Angular 2 – Part 2

Matthew Brown Angular, Articles, Development Technologies & Tools, JavaScript, Single-Page Application, Testing 7 Comments

In this updated blog post, weโ€™ve built an employee directory using Angular 2 with unit tests, gone over some differences between Angular 2 and version 1, and introduced some of the features of TypeScript.

I originally wrote this article/application when Angular 2 was still in beta. Now that it has released officially, I have updated the source code to reflect updates made to the Angular 2 framework for release. My approach to get this working was to start from the new Angular 2 quick-start project, port in the original application source code, and refactor as needed to make things work. Let’s get started…

Quick Start: End-to-End Testing With Protractor

Todd Horn Angular, Articles, Development Technologies & Tools, JavaScript, Testing, Tutorial 2 Comments

As AngularJS applications become more complex, manual testing becomes unreliable and repetitive. Unit Testing is a great start for testing the code, but eventually End-to-End testing is needed for better coverage.

A great tool to use for this is Protractor, an end-to-end test framework for AngularJS applications. In this blog, weโ€™ll briefly introduce the benefits of Protractor and give you the steps needed to get started with the tool.

I’m Not Good Enough (Hope They Don’t Find Out)

Jeff Hopper Articles, Opinion, Programming, Soft Skills 4 Comments

Maybe itโ€™s just me, or maybe, you have had thoughts like this too? Iโ€™m talking about the infamous โ€œImpostor Syndromeโ€ or โ€œFraud Syndrome.โ€ It is defined as someone who is โ€œmarked by an inability to internalize their accomplishments and a persistent fear of being exposed as a โ€˜fraudโ€™ despite external evidence of their competence.โ€

In this blog I will discuss three particular Mindset Shifts that I use when I find myself feeling โ€œthe impostor.โ€ Let’s get started…

Default image for blog posts - purely decorative

Blood, Sweat, and Writing Automated Integration Tests for Failure Scenarios

Billy Korando Articles, DevOps, Java, Opinion, Programming, Spring, Tutorial 3 Comments

I introduce the process I went through to diagnose the bug and determine the correct integration test solution to fix it the right way. In doing so, I had to create a test that accurately reproduced the scenario my service was experiencing in PROD. I had to create a fix that took my test from failing to passing. And finally, I worked to increase confidence in the correctness of code for all future releases, which is only possible through automated testing.

data sanitization

Sanitize: Good for Beer, Good for Data

Jeremy Gard Articles, Databases, Design, JavaScript, Programming Leave a Comment

When it comes to brewing, one of the most critical considerations is sanitization. The same fact can be said for development. In brewing you can introduce unintended flavors, create a lesser end product, or completely ruin your hard work. With development, you can introduce inaccuracies or bad data, errors can be caused or exposed to attack, and security holes can be created.

With best practices in sanitization, we can all enjoy better applications and better beer. In this blog, I discuss the importance of data sanitization in development (with tips for success), with parallels to sanitization in brewing.