translation

This is an AI translated post.

Alien Story

What kind of tests should you run for 1-person app development?

Select Language

  • English
  • 汉语
  • Español
  • Bahasa Indonesia
  • Português
  • Русский
  • 日本語
  • 한국어
  • Deutsch
  • Français
  • Italiano
  • Türkçe
  • Tiếng Việt
  • ไทย
  • Polski
  • Nederlands
  • हिन्दी
  • Magyar

Summarized by durumis AI

  • Emphasizes the importance of writing test code before launching an app, and presents priorities for various testing methods such as human testing, integration testing, unit testing, and acceptance and widget testing.
  • Developers should prioritize human testing and integration testing (provider-centric), add unit tests after launch, and consider efficiency when performing acceptance and widget testing, as they are time-consuming.
  • Save time and increase development speed through test automation to aim for a faster launch.

"It's not worth it if the cost outweighs the benefit. In other words, it doesn't make sense if it takes longer to write the test."

Will I run out of time writing tests?



The story of writing tests


I'm going to try to do some basic test coding before releasing the app. It's actually automating the test, so I think it's better to write it now than to suffer later.



First, my test priority is

Human testing > Integration testing (only provider) > Unit testing > Widget, acceptance testing



1. Just test with people

"Just having humans try it is the answer"

First, I'm going to go through the user flow roughly while doing integration testing. Then, since I passed the test once, wouldn't it be okay?



2. Unit testing

"Just test if the smallest parts work well"

Actually, since there are no cases where other people merge (because it's one-person development), the priority is a little lower than I thought. First, I'm going to check if it runs roughly, release it, and then write the unit tests. Well, since it's working, I've finished developing it. Unless it's updated or something else is added, the probability of a bug is low for now.



3. Integration testing

"Actually, it's a provider test. Let's just focus on this"

In the app I made, I think it's basically a provider check. I don't have time to remake everything, and most of the flow goes through riverpod, so I think just doing this will significantly reduce bugs.



4. Acceptance, widget testing

"It's important, but... it'll take all my time"

User flow confirmation and widget testing are actually very important. But there's a problem... it takes a lot of time to write this. It's hard to check all the branches, and it's almost impossible to write everything itself... and it doesn't guarantee 100% safety just because you test it. So I think the cost performance is very low. I think I can test the integration test provider, and if there's a part that doesn't work, I can update it when I receive an alert from the user...


It may seem a little irresponsible, but this seems to be the best way.




My thoughts


Testing is basically automation. It's a good way to save time by automating things that people have to test one by one.

First, time is money, so I have to develop the urgent things quickly and quickly move up the release date.



Time is running out. I need to develop quickly.





About the developer

Alien, a global dating app, is being developed and operated together by an actual international couple.


YouTube : https://www.youtube.com/@AlienApp
Email : slugj2020@gmail.com





Alien
Alien Story
Alien developer & international couple
Alien
An Alien Application Developer's First Story This is the story of a developer who started a global blog by choosing durumis. The goal is to promote an international dating application using 38 language support and automated YouTube translation tools. He is also the operator of an international coupl

April 21, 2024

Why International Marriage is Good This is the story of a developer who created a dating app for international couples. The story introduces the advantages of meeting people from other countries through the app and the developer's goal for the app. Check out the developer's international c

May 5, 2024

Alien App Server Region Selection (AWS) This article covers the process of designing and building an AWS server for the Alien global dating app. It explores the need for multi-region support and auto-scaling, along with region selection criteria and plans for utilizing Amazon Route 53, S3, and

May 8, 2024

First Principles Thinking: Question Everything from the Bottom Up Learn how to use Elon Musk's First Principles Thinking to identify the core of a problem and find innovative solutions. From battery price analysis to Doit's bundled delivery service, explore real-world applications of First Principles Thinking through va
울림
울림
울림
울림

March 18, 2024

[Developer, Graduate School] 8. Submitting a Paper to an Academic Conference A graduate student wrote a proceedings paper on cloud-related classes and successfully published it. Based on this experience, they are considering their future thesis writing. It was difficult to write the first paper, but they are proud of the achieveme
투잡뛰는 개발 노동자
투잡뛰는 개발 노동자
투잡뛰는 개발 노동자
투잡뛰는 개발 노동자
투잡뛰는 개발 노동자

April 8, 2024

Test post There is no preview for durumis AI.
안민수
안민수
안민수
안민수

April 29, 2024

What is Slot-Filling? Slot filling is a process in which a chatbot repeatedly asks the user for necessary information until it has all the information it needs. For example, when ordering coffee, the chatbot asks for the type, temperature, and number of cups, and does not comp
꿈많은청년들
꿈많은청년들
Image with Slot Filling written in large letters
꿈많은청년들
꿈많은청년들

May 13, 2024

[SI Developer Story] 09. The Start of Full-fledged Development After Joining the SI Project SI developers develop the functionalities specified in the RFP after joining the project, but frequent code changes due to additional requirements from clients make rapid development more important than efficiency. Therefore, development should focus on f
투잡뛰는 개발 노동자
투잡뛰는 개발 노동자
투잡뛰는 개발 노동자
투잡뛰는 개발 노동자
투잡뛰는 개발 노동자

April 18, 2024

Mocking Prisma Client for Unit Testing in NestJS Removing external dependencies is essential for application unit testing. You can easily perform unit testing using Prisma ORM's Jest mocking method. By installing the jest-mock-extended package and mocking Prisma Client, you can build a convenient testin
제이의 블로그
제이의 블로그
제이의 블로그
제이의 블로그

April 2, 2024