When I asked for advice on how to write a test, I was asked where the test was located, and when I tried to answer that it was the same as an existing test, I realized that it didnā€™t have to be the same. https://keicho.netlify.app/#talk=hWLZQImnEQxmsWK4WDC8

nisbot.iconWhat would you like to see happen in this conversation? nishio.iconIā€™m thinking of making a slightly large-impact modification to this chat system, and I think it will probably work, but Iā€™m wondering how to write a test, and Iā€™d like to discuss it with you. nisbot.iconWhat type of chat system is that? nishio.iconRepeat questions for keywords and dig deeper. nisbot.iconWhat type of keywords are those? nishio.iconItā€™s tied to an important concept in the userā€™s mind. nisbot.iconWhat type of user is this user? nishio.iconNGKW Users nisbot.iconWhat type of concept is that concept? nishio.iconStill ambiguous nisbot.icon

  • Iā€™m thinking of making a modification to this chat system that will have a slightly larger impact, and I think it will probably work, but Iā€™m wondering how to write a test for it, so Iā€™d like to discuss it.

  • Is there anything else you would like to share about this chat system? nishio.iconI would like to figure out how to test this. Questions about the relationship between keywords should be asked after each keyword has been drilled down, but currently, when a keyword with a very high attention score appears, the relationship between it and a word that has not been drilled down is asked. nisbot.iconIs there anything else you can tell us about those keywords? nishio.iconNewly appearing words have a low attention score. Repeated occurrences will be higher. Should be developed by digging deeper before asking relationship questions. nisbot.iconWhat type of word is the word? nishio.iconSame as keyword nisbot.iconWhere are those keywords? nishio.iconIt is in the userā€™s text. nisbot.icon
  • Same as keyword

  • How do you know these keywords? nishio.iconIā€™m more interested in discussing testing methods. nisbot.iconWhat type of test is that? nishio.iconI want a test that can confirm what kind of bad situation weā€™re in, and that the fixes have improved it, and automatically confirm that this case hasnā€™t gotten worse when we tweak things in the future. nisbot.iconIs there anything else you can tell us about that test? nishio.iconIt is difficult to write a test because it is not the kind of test that says, ā€œWhen there is an input like this, react like this,ā€ and I donā€™t know how to write it. nisbot.iconWhere is that test located? nishio.iconI was going to put it with the other obvious testsā€¦ but maybe thatā€™s a mistake? Maybe I should stop making implicit assumptions about the test runner Iā€™m using now? nisbot.iconWhere is that test located? nishio.iconYou can either cut another folder and put the non-question-by-question test in there. nisbot.iconHow do you know that test? nishio.iconWhat I wanted to test was ā€œno questions asking about relationships before digging questionsā€ or ā€œno bias towards one question type or one keywordā€, so I wonder if I could pour user input from the logs to test the former kind of back-and-forth conditions, or get statistics for the latter? nisbot.iconWhat is it that you value? nishio.iconTesting increases the speed of product growth by providing peace of mind when making modifications that have a large scope of impact. nisbot.iconWhat does that test look like? nishio.iconLike a helmet or knee pads to wear when practicing roller skating. Reduces the risk of injury. nisbot.icon
  • Testing increases the speed of product growth by providing peace of mind when making modifications that have a large impact scope.

  • What should happen with this test? nishio.iconIt is good to be able to describe in the above way what is difficult to describe in each question. nisbot.iconWhat needs to happen for that to test? nishio.iconIf the final test returns a true/false value, it can be integrated with conventional tests, but there are still some that do not, so it is necessary to separate them from the current tests once they are in place nisbot.iconCan that test do it? nishio.iconThen weā€™ll do it tomorrow. nisbot.icon
  • If it eventually returns a true/false value, it can be integrated with conventional tests, but some still do not, so it is necessary to separate it from current tests for once

  • Where does this test come from? nishio.icon(typo for ā€œcan be doneā€)

This page is auto-translated from /nishio/ä¼šč©±ćƒ­ć‚°2021-01-31 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.