きょんさんの資料, 自動テストの誤解とアンチパターン in 楽天 Tech Talkを読んでもやもやしたところをつらつらと。
-
因子水準
- ググると実験計画法が出てくる
- 自由度的な意味で捉えればOK?
-
「統合テスト実装者が得る幅広いプログラミングスキルとアーキテクチャ知識である」
- 主客逆では?
| const puppeteer = require('puppeteer'); | |
| (async () => { | |
| const browser = await puppeteer.launch() | |
| const page = await browser.newPage() | |
| const navigationPromise = page.waitForNavigation() | |
| await page.setViewport({ width: 1920, height: 1103 }) | |
| await page.goto('https://www.yahoo.co.jp/') | |
| await page.click('form > #srchfield > #srchbd > p > #srchbtn') | |
| await navigationPromise | |
| await page.click('#WS2m > .w:nth-child(1) > .hd > h3 > a') |
| import static org.junit.jupiter.api.Assertions.assertEquals; | |
| import org.junit.jupiter.api.Test; | |
| class ThreePhaseTest { | |
| @Test | |
| void firstTest() { | |
| // Arrange | |
| namespace ConsoleApplication1 | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| if ( | |
| System.Console.OpenStandardOutput() | |
| .WriteAsync(System.Text.Encoding.Default.GetBytes("Hello Semicolonless World !!"), 0, System.Text.Encoding.Default.GetBytes("Hello Semicolonless World !!").Length) == null) | |
| { } |
| // Refer follwing modules: | |
| // using System.Collections.Generic; | |
| // using System.Net.Http; | |
| // using System.Web.Script.Serialization; | |
| private async void Application_Startup(object sender, StartupEventArgs e) | |
| { | |
| var clientId = "xxxxxxxxxxxx"; | |
| var clientSecret = "xxxxxxxxxxxxxxx"; | |
| var topicId = 0; //use your topic id |
きょんさんの資料, 自動テストの誤解とアンチパターン in 楽天 Tech Talkを読んでもやもやしたところをつらつらと。
因子水準
「統合テスト実装者が得る幅広いプログラミングスキルとアーキテクチャ知識である」
| # -*- coding: utf-8 -*- | |
| require 'nokogiri' | |
| require 'open-uri' | |
| require "FileUtils" | |
| target = "http://twelve-factor-ja.herokuapp.com" | |
| html = Nokogiri::HTML(open(target)) | |
| top_article = html.css(".abstract") |
| pandoc title.txt intro/index.md object/general.md object/prototype.md object/hasownproperty.md object/forinloop.md function/general.md function/this.md function/closures.md function/arguments.md function/constructors.md function/scopes.md array/general.md array/constructor.md types/equality.md types/typeof.md types/instanceof.md types/casting.md core/eval.md core/undefined.md core/semicolon.md core/delete.md other/timeouts.md -o Javascript-Garden.epub |
| require 'nokogiri' | |
| require 'open-uri' | |
| require "FileUtils" | |
| target = "http://www.iij-ii.co.jp/lab/techdoc/coqt/" | |
| html = Nokogiri::HTML(open(target)) | |
| url_list = html.css("#home-main ol li a").collect{|a| target + a["href"]} | |
| require 'nokogiri' | |
| require 'open-uri' | |
| require "FileUtils" | |
| html = Nokogiri::HTML(open("http://peta.okechan.net/blog/llvm%E3%81%AB%E3%82%88%E3%82%8B%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E8%A8%80%E8%AA%9E%E3%81%AE%E5%AE%9F%E8%A3%85")) | |
| url_list = html.css("article li a").collect{|a| a["href"]} | |
| article_list = url_list.collect{|url| | |
| article_doc = Nokogiri::HTML(open(url)) |
| [Environment]::SetEnvironmentVariable(“temp”, “D:\temp”, “User”) |