---
canonical: "https://www.jsolly.com/blog/test-strategy-no-existing-tests/"
title: "A New Test Strategy: Introducing the Testing Pyramid to My Blog."
description: "Learn my in-depth test strategy for Blogthedata using the test pyramid, including unit and UI testing with tools like Selenium and QASE for all features."
author: "John Solly"
published: "2022-03-26T01:45:46.000Z"
updated: "2024-11-06T13:38:01.419Z"
---

<a id="a-new-test-strategy-introducing-the-testing-pyramid-to-my-blog"></a>

# A New Test Strategy: Introducing the Testing Pyramid to My Blog.

![A lightbulb coming out of a box](https://d1d7p8ufhgz4ld.cloudfront.net/media/post_metaimgs/idea_coming_out_of_box.png)

Blogthedata.com has no tests. There, I said it! But that changes today!

My test strategy begins with the testing pyramid

![Testing Pyramid. The largest number of tests should be unit, then service, then UI.](https://d1d7p8ufhgz4ld.cloudfront.net/media/post_imgs/test_pyramid.png)

The TDD Gods can look down on me for writing code without tests; I'll take it up with them in the afterlife. I will create unit tests FIRST for all code **written from this day forward**.

The plan is to have 100% unit test coverage. This is essential for when [blogthedata.com is 'reactified'](https://github.com/jsolly/awesome-django-blog/issues/20) because it will break a lot of stuff. I expect separating the front and backend of the application to be difficult!

The second step is to write service level (also known as integration tests). My understanding of service level tests is that they cover two or more functions working together.

The third phase incudes UI level (or E2E (End-to-End), acceptance tests). I can write these using tools such as Selenium (browser automation) as well as manual tests run by a human. I created a free account for a testing tool called QASE where I've written a few tests.

E2E tests focus on whether the coded features fit the business use case, and the functionality makes sense to a user.

![Screenshot of QASE UI showing two tests for Posts ](https://d1d7p8ufhgz4ld.cloudfront.net/media/post_imgs/image-20220325183830-1.png)

Keep a watch on future PRs to verify I included tests!

March 26, 2022 in [Dev Tools](https://www.jsolly.com/blog/category/dev-tools/)

Updated November 6, 2024
