Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.


Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Full-Stack Software Developer - 16w

Data Science and Machine Learning - 16 wks

Search from all Lessons

LoginGet Started
← Back to Lessons

Weekly Coding Challenge

Every week, we pick a real-life project to build your portfolio and get ready for a job. All projects are built with ChatGPT as co-pilot!

Start the Challenge

Podcast: Code Sets You Free

A tech-culture podcast where you learn to fight the enemies that blocks your way to become a successful professional in tech.

Listen the podcast
  • Agile Development

Edit on Github

Bug and issue tracking best practices

Types of testing

Testing software is one of those tricky activities that seem easy at first, but you can quickly get into a rabbit hole if you don't know what you are doing.

All apps have lots of bugs, even if you are the most brilliant developer on earth. Senior developers understand that statement, and that's why they get obsessed with doing everything they can to implement best practices and prevent bugs.

Types of testing

Types of Testing

There are so many different ways something may go wrong.
Companies have big teams with dozens of people behind the quality teams because thorough testing is complicated.

We don't recommend doing all types of testing; when applications are over-tested, the development cycle is slow because you have to run all these tests every time the software is compiled or published.

Thru the past 10 years these are the following types of tests that have been developed:

  • Functional Test
  • Story Testing
  • Prototype
  • Exploratory Testing
  • User Acceptance
  • A/B Testing
  • Unit Testing
  • Component Testing
  • Perfomance Testing
  • Stress Testing
  • Security Testing
  • SEO Testing

We will focus on two types of testing: Unit Testing and Story Testing as we consider those 2 the most important ones and, in some times, more than enough to ensure a reliable application.

What are the challenges when testing?

  • Expectations: If requirements are unclear, it's easy to find unexpected behaviors in your software; you need to sit down and write user stories with clear acceptance criteria.
  • Testing for happy paths is a trap; usually, "happy paths" are less buggy because everything thinks about them all the time. Make a significant effort to think and include all edge cases and errors.
  • Acceptance criteria: Common sense is the least of all; instead of thinking that everyone is on the same page about a feature, it is better to write down when each feature is working correctly.
  • Too many features to test: For each application feature, there is an average of 4 tests; if you have 5 features (like login, logout, signup, etc.), we are already talking about 20 tests. As you can imagine, the list gets a bit long: There needs to be a test plan with clear test paths and deep coverage.
  • Too many bugs to track: You will be impressed by how many bugs you can find on a small app. It's easy to lose track of everything that was reported and start missing or duplicating bugs.
  • Too many bugs to fix: After having dozens of bugs, it's clear that they won't be fixed in one day. Set priorities and consider the time to fix them in your due date expectations.
  • Reproducing bug: Morphy's law is in the air; you can feel it everywhere. The person who reports bugs is not the same as the person who fixes those bugs; that's why developers often have a hard time recreating the same conditions that triggered the bug. Whoever reports the bug needs to make sure to leave the "steps to reproduce" the bug.

Steps to implement Story Tests

Quality Assurance Lifecycle

Write down all user stories and acceptance criteria before coding. Make sure everyone agrees. Setup a bug database with priorities and a Kanban board with status-based tracking. Plan your tests. Have a "bug report template" Test for unhappy paths, errors and exceptions.

Everything starts with user stories

According to the agile method, your application requirements start as "user stories". User stories are straightforward and plain-english ways to describe software functionalities.

For example: As a student, I would like to deliver projects for review.

Usually a user story can be structured like this:

As a [role], I can [feature] so that [reason]

Here you can read more about user stories examples and here about user story acceptance.

Example bug report template

The following is an example template to fill; you don't have to use all the sections, but please make sure the bug you create has a concise and reproducible description that is easy to understand for everyone on your team:

1**Describe the bug** 2A clear and concise description of what the bug is. 3 4**To Reproduce** 5Steps to reproduce the behavior: 61. Go to '...' 72. Click on '....' 83. Scroll down to '....' 94. See error 10 11**Expected behavior** 12A clear and concise description of what you expected to happen. 13 14**Screenshots** 15If applicable, add screenshots to help explain your problem. 16 17**Desktop (please complete the following information):** 18 - OS: [e.g. iOS] 19 - Browser [e.g. chrome, safari] 20 - Version [e.g. 22] 21 22**Smartphone (please complete the following information):** 23 - Device: [e.g. iPhone6] 24 - OS: [e.g. iOS8.1] 25 - Browser [e.g. stock browser, safari] 26 - Version [e.g. 22] 27 28**Additional context** 29Add any other context about the problem here.

Recomended readings