January 11, 2018

Continuous delivery of Hugo with Docker, CircleCI and Github Pages.

I’m huge fan of Hugo - static site generator written in Go. It powers this blog and it became my go to tool for statically generated webpages. I like Github Pages as place to host such projects for it’s simplicity and I’m using Github anyway so I don’t need to setup separate service for hosting. I’m also big fan of automating boring and repetitive tasks and deploying project to Github Pages definitely is not fascinating thing to do. Read more

November 21, 2017

How to run application before CodeceptJS tests.

In my last post I was writing about testing TodoMVC application with CodeceptJS. For sake of simplicity I’ve used online version of TodoMVC vanillajs example and I’ve been running my tests right on the project website. It might’ve been good enough for course of the tutorial but it’s not very real-world use case—you don’t want to mess around with the production environment from your tests. Instead of that it’d be good to automatically run the application just before running test suite and then shut it down when testing is done. Read more

January 13, 2017

Acceptance testing with CodeceptJS

In this tutorial I’m gonna look at CodeceptJS with NightmareJS backend as a tool for writing acceptance tests for TodoMVC application. After completing it you should be familiar with basic codecept concepts and be able to use it in your own projects. I’m using vanillaJS version of TodoMVC available here but probably you can use whatever version you want to—features are supposed to be the same, the only difference may be in HTML selectors of elements user would interact with (although I haven’t tested it so can’t be sure). Read more

Subscribe to my newsletter

* indicates required

© jploskonka 2017

Powered by Hugo & Kiss.