Skip to content

Instantly share code, notes, and snippets.

View freddiefujiwara's full-sized avatar

Fumikazu Fujiwara | Freddie freddiefujiwara

View GitHub Profile
@freddiefujiwara
freddiefujiwara / gist:8398e327e4ac564b06925359b115fb48
Created April 22, 2023 01:36
日本語の文章からChatGPTで状態遷移図と状態遷移表を作成するテンプレート
あなたは優秀なテストエンジニアです。
次の文章からmermaid形式の状態遷移図と状態遷移表を出力してください。
入力:
[ここに仕様の文章を挿入]
入力例:
ストップウォッチの仕様を以下に示します。
「スタート/ストップボタン」と「リセットボタン」の2つのボタンがある。
@freddiefujiwara
freddiefujiwara / gist:09ef4f904a40715a858e14d1ad2311d6
Created April 22, 2023 00:14
日本語の文章からChatGPTでディシジョンテーブルを作成するテンプレート
あなたは優秀なテストエンジニアです。
次の文章からディシジョンテーブルを出力してください。
入力:
[ここに仕様の文章を挿入]
入力例:
タクシーの割増料金の仕様が、以下のように定義されています。
月曜~金曜は通常料金、土日および祝祭日は割増料金
@freddiefujiwara
freddiefujiwara / crawlISTQBGlossary.gs
Created November 14, 2022 00:21
Crawl ISTQB Glossary
function crawlISTQBGlossary() {
const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
const sheetLast = sheet.getLastRow();
const sheetValues = sheet.getDataRange().getValues();
const sheetHeaders = sheetValues.shift();
const API_URL = "https://glossary.istqb.org/api/v2/search";
let newData = [];
let finish = false;
let page = 0;
@freddiefujiwara
freddiefujiwara / main.vb
Last active July 16, 2022 12:54
Create BVA TCs
Sub Create_TCs()
'Extract Value From Dashboard
Dim min, max As Integer
Dim given, when As String
min = Worksheets("Dashboard").Range("C2").Value
max = Worksheets("Dashboard").Range("C3").Value
given = Worksheets("Dashboard").Range("C4").Value
when = Worksheets("Dashboard").Range("C5").Value
'Filter min and max
const SPREADSHEET_ID = "1RbjK9i7aMsEUi5rdaPHk-BmOyV-muYJdWWx-i9nzbuM";
const sheet = SpreadsheetApp.openById(SPREADSHEET_ID);
const conditions = sheet.getSheetByName("conditions");
const status = sheet.getSheetByName("status");
const conditionsLastRow = conditions.getLastRow();
function doGet(e) {
const output = ContentService.createTextOutput();
if (e.parameter.callback === undefined) {
Cond.
祝日? y y y n n n
土曜日? y n n y n n
日曜日? y n y n
平日? y y
Act.
N/A y y y y y y
Result.
Cond.
平日? y y y y n n n n
8:45~17:59? y y n n y y n n
特別会員? y n y n y n y n
Act.
N/A y y y y y y y y
Result.
手数料 0円 0円 0円 108円 0円 108円 0円 108円
Cond.
7点以上? y y y n n n
ワイシャツあり? y y n y y n
ネクタイあり? y n y n
Act.
N/A y y y y y y
Result.
割引率 12% 7% 7% 5% 0% 0%
@freddiefujiwara
freddiefujiwara / README.md
Last active December 19, 2021 06:30
dogbot-find-brokenlinks.js
@freddiefujiwara
freddiefujiwara / init_by_gas_hub.html
Created August 1, 2021 05:19
Booking 3rd mock test
init by gas-hub, just delete this file.