nisbot.iconWhat would you like to see happen in this conversation? nishio.iconI need to write a test for this chat system, but I need to organize how to test it. nisbot.iconWhat type of chat system is that? nishio.iconUser enters, extracts keywords, and asks questions nisbot.iconWhat type of user is this user? nishio.iconI’m human, but it’s hard for a human to input and test every time, so I want to test mechanically. nisbot.iconWhat kind of each time is that each time? nishio.iconNGKW nisbot.iconWhat type of NGKW is that NGKW? nishio.iconThis is a command to delete keywords, but there is something wrong with that being used in the question text. They must have bugged it during porting. I want to test these things without using humans. nisbot.iconWhat kind of person is that person? nishio.iconSend string nisbot.iconWhat type of string is it? nishio.iconSometimes it’s just plain Japanese, sometimes it’s a command. nisbot.iconWhat kind of Japanese is that? nishio.iconKeyword(s). nisbot.iconWhat type of keywords are those? nishio.iconString to be used for questions nisbot.iconIs there anything else about that string? nishio.iconIt’s possible to have an input that doesn’t contain keywords. nisbot.iconIs there anything else you can tell us about those keywords? nishio.iconThe bug that makes you choose commands as keywords. nisbot.iconWhere are those keywords? nishio.iconin the input string. nisbot.iconWhere is the string located? nishio.iconGiven to the server via network nisbot.iconWhat type of server is it? nishio.iconThe chat system card is running, I want to test it. nisbot.iconIs there anything else about that chat system? nishio.iconI want to fix a lot of things, but I don’t want to break the bank. nisbot.icon

  • This is a command to delete keywords, but there is something wrong with it being used in the question text. It must have been bugged during porting. I want to test these things without using humans.

  • What else can you tell us about this human being? nishio.iconHuman input is time-consuming, so I want the program to do it for me and observe the results. nisbot.iconWhere is that human being? nishio.iconNG nisbot.iconWhat type of NG is that NG? nishio.iconThis one’s buggy, too. nisbot.iconWhat type of bug is it? nishio.iconExpected output is not obtained after command execution nisbot.iconWhat type of output is that output? nishio.iconDon’t ask questions about the command string, if you can describe the expected output, that’s the test. nisbot.iconIs there anything else about its output? nishio.iconJust read the response directly from the server. nisbot.iconIs there anything else about that server? nishio.iconHaving memories is tricky, so let’s create a memory-free environment for testing and use that mechanism. nisbot.iconWhat type of memory is that memory? nishio.iconSince the memory for each user will be added in the future, you can set the user name as test and remove that user during the test. nisbot.iconWhat is it that you value? nishio.iconBeing tested will give you peace of mind and allow you to make corrections. nisbot.icon
  • This one is buggy too.

  • Is there anything else you can tell us about this bug? nishio.iconWhen you discover these things when you’re using a human being, it makes you as a user and as a developer, and it distracts you from your focus. nisbot.iconWhere is this human being located? nishio.icon(Ignore the question.) For now, let’s write code to hit the API for various commands and check the response. nisbot.iconWhat type of response is that response? nishio.iconOnly text is returned in JSON. If you want to check the internal status, you need a different mechanism; it would be better to download and verify Firebase records directly. nisbot.icon
  • When you discover this kind of thing when you are using a human being, it makes you as a user and as a developer, and it distracts you from your focus.

  • What is this human being like? nishio.iconIt’s like he’s doing a play and coaching his co-stars in acting. nisbot.icon
  • When you discover this kind of thing when you are using a human being, it makes you as a user and as a developer, and it distracts you from your focus.

  • Where do these humans come from? nishio.iconYou’re the author, so when you see a bug, you want to fix it. nisbot.iconWhere is the bug? nishio.iconIn the chat system nisbot.iconWhere is that chat system? nishio.iconIt’s running on Heroku, is it better to run it locally when testing? nisbot.icon
  • When you discover this kind of thing when you are using a human being, it makes you as a user and as a developer, and it distracts you from your focus.

  • How do you know this person? nishio.iconNG nisbot.iconIs there anything else about that NG?

This page is auto-translated from /nishio/テストの方針を相談 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.