Quick Start: End-to-End Testing With Protractor

Todd Horn Angular, Articles, Development Technologies & Tools, JavaScript, Testing, Tutorial 1 Comment

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.

Handlebars – A More Dynamic Way

Dagin Fullmer Articles, Development Technologies & Tools, JavaScript, Single-Page Application, Tutorial Leave a Comment

Handlebars.js is a popular templating engine based on the Mustache template language. In this blog, we will explore how Handlebars is a dynamic template creation tool and what benefits logic-less templates afford us. During our discussion we will cover Handlebarsโ€™ precompiling, partials, and helpers, and how each supports or contradicts dynamic and logic-less templates…

Getting Started With JHipster, Part 3

Matt McCandless Angular, Articles, Java, JavaScript, JHipster Series, Spring, Spring Boot, Tutorial 1 Comment

Welcome back to this JHipster tutorial series! In part one we covered creating a monolithic application. In part two, we walked through creating a microservice application (which was a bit more complicated).

For those of you out there working to get things going with JHipster, there are some setup things and โ€œgotchasโ€ that Iโ€™d like to highlight. So this little blog is more of a helper for those of you who have decided to try JHipster out and play around with it. Thatโ€™s what weโ€™ll be discussing in this blog post with the hope that I can help you minimize the getting-up-to-speed curve…

Getting Started With JHipster, Part 2

Matt McCandless Angular, Articles, Development Technologies & Tools, Java, JavaScript, JHipster Series, Microservices, Spring Boot Leave a Comment

In part two of this series, we create a microservice architecture using JHipsterโ€™s available options for doing so. There is quite a bit more work to do with this approach as compared with the monolithic approach. But, in the end, it pays off. You will see the benefits and flexibility in decoupling our different layers of our architecture. Each layer will not be dependent upon another to run. 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.