{"id":24409,"date":"2019-12-15T08:00:34","date_gmt":"2019-12-14T23:00:34","guid":{"rendered":"https:\/\/www.techscore.com\/blog\/?p=24409"},"modified":"2019-12-11T10:59:16","modified_gmt":"2019-12-11T01:59:16","slug":"angular-test-component","status":"publish","type":"post","link":"https:\/\/www.techscore.com\/blog\/2019\/12\/15\/angular-test-component\/","title":{"rendered":"Angular \u306e\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u30b5\u30f3\u30d7\u30eb Component \u7de8"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5e73\u5965\u3067\u3059\uff01<br \/>\n\u3053\u308c\u306f <a href=\"https:\/\/www.techscore.com\/blog\/2019\/11\/21\/techscore-advent-calendar-2019\/\">\ud83d\ude3aTECHSCORE Advent Calendar 2019\ud83d\ude3a<\/a>\u306e15\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002<\/p>\n<p>\u6700\u8fd1 \u300cHIGH OUTPUT MANAGEMENT\u300d\u3068\u3044\u3046\u66f8\u7c4d\u3092\u8aad\u307f\u307e\u3057\u305f\u3002\u30a4\u30f3\u30c6\u30eb\u306e\u5143CEO\u306e\u30a2\u30f3\u30c7\u30a3\u30fb\u30b0\u30ed\u30fc\u30d6\u3055\u3093\u304c\u66f8\u3044\u305f\u66f8\u7c4d\u3067\u3059\u3002\u521d\u7248\u306f1984\u5e74\u306b\u520a\u884c\u3055\u308c\u305f\u306e\u3067\u3059\u304c\u3001\u4eca\u8aad\u3093\u3067\u3082\u5168\u304f\u8272\u892a\u305b\u3066\u304a\u3089\u305a\u3001\u672c\u5f53\u306b30\u5e74\u4ee5\u4e0a\u3082\u524d\u306b\u66f8\u304b\u308c\u305f\u66f8\u7c4d\u306a\u306e\u304b\u3068\u611f\u52d5\u3059\u3089\u899a\u3048\u308b\u307b\u3069\u3067\u3057\u305f\u3002<\/p>\n<p>\u5185\u5bb9\u306b\u95a2\u3057\u3066\u3082\u30df\u30c9\u30eb\u30de\u30cd\u30b8\u30e3\u30fc\u304c\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u3059\u308b\u3068\u304d\u306b\u5f79\u306b\u7acb\u3064\u30ce\u30a6\u30cf\u30a6\u304c\u66f8\u304b\u308c\u305f\u66f8\u7c4d\u3067\u3001\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3092\u6700\u5927\u5316\u3059\u308b\u305f\u3081\u306b\u306f\u3069\u3046\u3059\u3079\u304d\u304b\u3001\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u304c\u3084\u308b\u3079\u304d\u4ed5\u4e8b\u306f\u4f55\u306a\u306e\u304b\u306a\u3069\u3001\u65e5\u9803\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u304c\u696d\u52d9\u3059\u308b\u4e0a\u3067\u4e00\u5ea6\u306f\u8003\u3048\u308b\u3067\u3042\u308d\u3046\u7591\u554f\u3084\u60a9\u307f\u3092\u8a73\u3057\u3044\u8aac\u660e\u3092\u4ea4\u3048\u306a\u304c\u3089\u89e3\u8aac\u3057\u3066\u304f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u4e2d\u3067\u5358\u4f53\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u306e\u91cd\u8981\u6027\u3092\u671d\u98df\u3092\u4f5c\u308b\u5de5\u5834\u306b\u4f8b\u3048\u3066\u8aac\u660e\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u7b87\u6240\u304c\u3042\u308a\u3001\u305d\u3053\u3092\u8aad\u3093\u3060\u3068\u304d\u306b\u8151\u306b\u843d\u3061\u305f\u611f\u3058\u304c\u3057\u305f\u306e\u3067\u3001\u4eca\u56de\u306f\u5358\u4f53\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u696d\u52d9\u3067\u306f\u4e3b\u306b Angular \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001Angular \u306e Component \u306e\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306b\u7d5e\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\nAngular\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f8\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Component \u306e\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9<\/h2>\n<p>\u4ee5\u4e0b\u306b Component \u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u7528\u610f\u3057\u3066\u3001\u305d\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u5b9f\u65bd\u3059\u308b\u3079\u304d\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h3>\n<h4>synergy-test.component.ts<\/h4>\n<p>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u5b9f\u88c5\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<br \/>\n\u30bf\u30a4\u30c8\u30eb\u3068\u30dc\u30bf\u30f3\u3092\u8868\u793a\u3057\u3066\u3001\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u56de\u6570\u3092\u8868\u793a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<pre>import { Component, OnInit, Input, Output, EventEmitter } from '@angular\/core';\n\n@Component({\n  selector: 'app-synergy-test',\n  templateUrl: '.\/synergy-test.component.html',\n  styleUrls: ['.\/synergy-test.component.scss']\n})\nexport class SynergyTestComponent implements OnInit {\n  @Input() title: string;\n  @Input() buttonDisabled: boolean;\n  @Output() clickEvent: EventEmitter<string> = new EventEmitter();\n\n  count: number;\n\n  constructor() { }\n\n  ngOnInit() {\n    this.count = 0;\n  }\n\n  onClick() {\n    this.count++;\n    this.clickEvent.emit(`${this.count}`);\n  }\n}<\/pre>\n<h3>synergy-test.component.html<\/h3>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e HTML \u3067\u3059\u3002<\/p>\n<pre><code><div>\n  <span class=\"sy-title\">{{title}}<\/span>\n  <span class=\"sy-count\">{{count}} \u56de<\/span>\n  <div *ngIf=\"!buttonDisabled\">\n    <button class=\"sy-button\" (click)=\"onClick()\"><\/button>\n  <\/div>\n<\/div><\/code><\/pre>\n<p>\u4ed6\u306b\u3082 SCSS \u30d5\u30a1\u30a4\u30eb\u306a\u3069\u5fc5\u8981\u306a\u30b3\u30fc\u30c9\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u8aac\u660e\u306b\u306f\u5fc5\u8981\u306a\u3044\u306e\u3067\u5272\u611b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9<\/h2>\n<h3>Input \u306e\u30c6\u30b9\u30c8<\/h3>\n<pre>it('Input title \u306e\u30c6\u30b9\u30c8', () => {\n    component.title = 'title \u3092\u30c6\u30b9\u30c8';\n    fixture.detectChanges();\n\n    const element = fixture.debugElement.query(By.css('.sy-title')).nativeElement as HTMLSpanElement;\n    expect(element.textContent).toBe('title \u3092\u30c6\u30b9\u30c8');\n  });<\/pre>\n<p>Component \u306e title \u306b\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u3001fixture.debugElement.query \u3067\u8981\u7d20\u3092\u53c2\u7167\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\nBy.css \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u3001\u5358\u4e00\u306e\u8981\u7d20\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306f class \u306e\u30bb\u30ec\u30af\u30bf\u30fc\u3092\u5229\u7528\u3057\u3066\u3001title \u304c\u8a2d\u5b9a\u3055\u308c\u305f span \u8981\u7d20\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n expect(element.textContent) \u3067\u8a2d\u5b9a\u3057\u305f\u5185\u5bb9\u304c\u8981\u7d20\u306b\u53cd\u6620\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3067 Input \u306b\u610f\u56f3\u3057\u305f\u5185\u5bb9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Output clickEvent \u306e\u30c6\u30b9\u30c8<\/h3>\n<pre>it('Output clickEvent \u306e\u30c6\u30b9\u30c8', () => {\n    let count: string;\n\n    component.buttonDisabled = false;\n\n    component.clickEvent.subscribe(data => count = data);\n\n    const button = fixture.debugElement.query(By.css('.sy-button')).nativeElement as HTMLButtonElement;\n    button.click();\n\n    expect(count).toBe('1');\n  });<\/pre>\n<p>\u6b21\u306f Output \u306e\u30c6\u30b9\u30c8\u3067\u3059\u3002<br \/>\n\u6ce8\u610f\u3059\u3079\u304d\u306f\uff14\u884c\u76ee\u306e component.buttonDisabled = false; \u3067\u3059\u3002\u3053\u308c\u304c\u306a\u3044\u3068\u3053\u306e\u30c6\u30b9\u30c8\u306f\u6210\u529f\u3057\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u3069\u3046\u3044\u3046\u3053\u3068\u304b\u3068\u3044\u3046\u3068\u3001HTML \u306e\u30bd\u30fc\u30b9\u3092\u898b\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u308f\u304b\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u304c true \u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u3001\u30c6\u30b9\u30c8\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u30dc\u30bf\u30f3\u306e\u8981\u7d20\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u8981\u7d20\u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u3061\u3087\u3063\u3068\u6ce8\u610f\u3059\u308c\u3070\u308f\u304b\u308b\u306e\u3067\u3059\u304c\u3001\u5b9f\u969b\u306b\u4f7f\u308f\u308c\u3066\u3044\u308b\u30b3\u30fc\u30c9\u3067\u306f\u3082\u3063\u3068\u8907\u96d1\u306a\u305f\u3081\u3001\u5206\u304b\u308a\u306b\u304f\u304f\u3061\u3087\u3063\u3068\u3057\u305f\u30cf\u30de\u30ea\u30dd\u30a4\u30f3\u30c8\u306b\u306a\u308a\u307e\u3059\u3002\u3067\u3059\u306e\u3067\u3001\u3082\u3057\u8981\u7d20\u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u305f\u5834\u5408\u306f\u3001\u8981\u7d20\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b HTML \u3092\u78ba\u8a8d\u3059\u308b\u3068\u3088\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\nComponent \u3067\u30a4\u30d9\u30f3\u30c8\u3092\u53d7\u3051\u53d6\u308b\u305f\u3081\u3001component.clickEvent.subscribe \u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\u3002\u3042\u3068\u306f\u4ed6\u306e\u30c6\u30b9\u30c8\u3068\u540c\u3058\u3088\u3046\u306b\u30dc\u30bf\u30f3\u8981\u7d20\u3092\u53d6\u5f97\u3057\u3001click \u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\u3002\u6700\u5f8c\u306e\u884c\u3067 clickEvent \u304c\u5b9f\u884c\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30af\u30ea\u30c3\u30af\u30a4\u30d9\u30f3\u30c8\u767a\u706b\u306e\u30c6\u30b9\u30c8<\/h3>\n<pre>it('\u30af\u30ea\u30c3\u30af\u30a4\u30d9\u30f3\u30c8\u767a\u706b\u306e\u30c6\u30b9\u30c8', fakeAsync(() => {\n    component.buttonDisabled = false;\n    spyOn(component, 'onClick');\n\n    const btn = fixture.debugElement.query(By.css('.sy-button'));\n    btn.triggerEventHandler('click', null);\n\n    tick();\n\n    fixture.detectChanges();\n\n    expect(component.onClick).toHaveBeenCalled();\n  }));<\/pre>\n<p>spyOn \u306f\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3070\u308c\u305f\u5834\u5408\u306e\u7d50\u679c\u3092\u5909\u3048\u305f\u3044\u5834\u5408\u306b\u4f7f\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u547c\u3073\u51fa\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002 fixture.debugElement.query \u3067\u30dc\u30bf\u30f3\u306e\u8981\u7d20\u3092\u53d6\u5f97\u3057\u3001btn.triggerEventHandler \u3067\u30a4\u30d9\u30f3\u30c8\u3092\u9001\u4fe1\u3057\u3001onClick \u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3073\u51fa\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\nfakeAsync \u306f\u975e\u540c\u671f\u306e\u64cd\u4f5c\u306a\u3069\u3092\u540c\u671f\u7684\u306b\u51e6\u7406\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002\u8a73\u7d30\u306f<a href=\"https:\/\/angular.io\/guide\/testing#async-test-with-fakeasync\">\u3053\u3053<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u3053\u3067\u306f tick \u30e1\u30bd\u30c3\u30c9\u3067\u30a4\u30d9\u30f3\u30c8\u3092\u5f85\u3061\u3001fixture.detectChanges \u3067\u5909\u66f4\u3092\u691c\u77e5\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3089\u306e\u51e6\u7406\u3067\u30af\u30ea\u30c3\u30af\u30a4\u30d9\u30f3\u30c8\u306e\u767a\u706b\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u304b\u306e\u30c6\u30b9\u30c8\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u30c6\u30b9\u30c8<\/h3>\n<pre>it('snapshot test', () => {\n    const compiled = fixture.debugElement.nativeElement;\n    expect(compiled).toMatchSnapshot();\n  });<\/pre>\n<p>\u6700\u5f8c\u306f\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u30c6\u30b9\u30c8\u3092\u3057\u3066\u3044\u307e\u3059\u3002\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3068\u306f\u3042\u308b\u77ac\u9593\u306e\u30b7\u30b9\u30c6\u30e0\u306e\u72b6\u614b\u3092\u5207\u308a\u53d6\u308a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u3001\u30b3\u30fc\u30c9\u5909\u66f4\u306b\u3088\u3063\u3066\u305d\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3068\u5dee\u7570\u304c\u51fa\u3066\u3044\u306a\u3044\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u30c6\u30b9\u30c8\u3067\u3059\u3002\u3053\u3053\u3067\u306f UI \u90e8\u5206\u306e\u5909\u66f4\u3092\u691c\u77e5\u3059\u308b\u305f\u3081\u306b\u8981\u7d20\u3092\u53d6\u5f97\u3057\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3068\u6bd4\u8f03\u3057\u3066\u3044\u307e\u3059\u3002\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306f\u306f\u3058\u3081\u306b\u5b9f\u884c\u3055\u308c\u305f\u3068\u304d\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u306a\u3051\u308c\u3070&#95;&#95;SNAPSHOT&#95;&#95;\u30d5\u30a9\u30eb\u30c0\u304c\u4f5c\u6210\u3055\u308c\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002\u305d\u3057\u3066\u6b21\u56de\u4ee5\u964d\u306f\u3053\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3068\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3092\u6bd4\u8f03\u3057\u5909\u66f4\u304c\u306a\u3044\u304b\u3092\u30c6\u30b9\u30c8\u3059\u308b\u4ed5\u7d44\u307f\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u5168\u4f53<\/h3>\n<p>\u53c2\u8003\u306b\u4e0a\u8a18\u3067\u8aac\u660e\u3057\u305f\u5185\u5bb9\u3092\u542b\u3093\u3060\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3059\u3079\u3066\u3092\u4ee5\u4e0b\u306b\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n<pre>import { async, ComponentFixture, TestBed, fakeAsync, tick } from '@angular\/core\/testing';\nimport { By } from '@angular\/platform-browser';\n\nimport { SynergyTestComponent } from '.\/synergy-test.component';\n\ndescribe('SynergyTestComponent', () => {\n  let component: SynergyTestComponent;\n  let fixture: ComponentFixture<SynergyTestComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [SynergyTestComponent]\n    })\n      .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(SynergyTestComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('\u751f\u6210\u30c6\u30b9\u30c8', () => {\n    expect(component).toBeTruthy();\n  });\n\n  it('Input title \u306e\u30c6\u30b9\u30c8', () => {\n    component.title = 'title \u3092\u30c6\u30b9\u30c8';\n    fixture.detectChanges();\n\n    const element = fixture.debugElement.query(By.css('.sy-title')).nativeElement as HTMLSpanElement;\n    expect(element.textContent).toBe('title \u3092\u30c6\u30b9\u30c8');\n  });\n\n  it('\u30af\u30ea\u30c3\u30af\u30a4\u30d9\u30f3\u30c8\u767a\u706b\u306e\u30c6\u30b9\u30c8', fakeAsync(() => {\n    component.buttonDisabled = false;\n    spyOn(component, 'onClick');\n\n    const btn = fixture.debugElement.query(By.css('.sy-button'));\n    btn.triggerEventHandler('click', null);\n\n    tick();\n\n    fixture.detectChanges();\n\n    expect(component.onClick).toHaveBeenCalled();\n  }));\n\n  it('Output clickEvent \u306e\u30c6\u30b9\u30c8', () => {\n    let count: string;\n\n    component.buttonDisabled = false;\n\n    component.clickEvent.subscribe(data => count = data);\n\n    const button = fixture.debugElement.query(By.css('.sy-button')).nativeElement as HTMLButtonElement;\n    button.click();\n\n    expect(count).toBe('1');\n  });\n\n  it('snapshot test', () => {\n    const compiled = fixture.debugElement.nativeElement;\n    expect(compiled).toMatchSnapshot();\n  });\n});<\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002\u516c\u5f0f\u30b5\u30a4\u30c8\u3092\u898b\u308c\u3070\u3060\u3044\u305f\u3044\u306f\u5206\u304b\u308b\u306e\u3067\u3059\u304c\u3001\u4ed6\u306e\u8a00\u8a9e\u306a\u3069\u3067\u3082\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3068\u304d\u306f\u7d50\u69cb\u30cf\u30de\u308b\u90e8\u5206\u304c\u3042\u308a\u3001\u305d\u306e\u3042\u305f\u308a\u306e\u30ca\u30ec\u30c3\u30b8\u3092\u8caf\u3081\u3066\u306a\u3044\u3068\u3059\u3093\u306a\u308a\u66f8\u3051\u306a\u3044\u306e\u3067\u3059\u304c\u3001 Angular \u306b\u95a2\u3057\u3066\u306f\u3059\u3093\u306a\u308a\u66f8\u3051\u307e\u3057\u305f\u3002\u3068\u306f\u3044\u3063\u3066\u3082\u591a\u5c11\u30cf\u30de\u308b\u90e8\u5206\u306f\u3042\u308a\u307e\u3057\u305f\u304c\u2026\u3002\u305d\u308c\u3067\u306f\u307e\u305f\uff01<\/p>\n<h2>\u53c2\u8003\u8cc7\u6599<\/h2>\n<p><a href=\"https:\/\/angular.jp\/guide\/testing#\u30b5\u30fc\u30d3\u30b9\u306e\u30c6\u30b9\u30c8\">Angular - \u958b\u767a\u30d5\u30ed\u30fc - \u30c6\u30b9\u30c8<\/a><br \/>\n<a href=\"https:\/\/www.amazon.co.jp\/HIGH-OUTPUT-MANAGEMENT-\u30a2\u30f3\u30c9\u30ea\u30e5\u30fc\u30fbS\u30fb\u30b0\u30ed\u30fc\u30d6-ebook\/dp\/B01MU055XH\">HIGH OUTPUT MANAGEMENT<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5e73\u5965\u3067\u3059\uff01<br \/>\n\u3053\u308c\u306f \ud83d\ude3aTECHSCORE Advent Calendar 2019\ud83d\ude3a\u306e15\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002<\/p>\n<p>\u6700\u8fd1 \u300cHIGH OUTPUT MANAGEMENT\u300d\u3068\u3044\u3046\u66f8\u7c4d\u3092\u8aad\u307f\u307e\u3057\u305f\u3002<br \/><a href=\"https:\/\/www.techscore.com\/blog\/2019\/12\/15\/angular-test-component\/\">\u7d9a\u304d\u3092\u8aad\u3080...<\/a><\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[332,18],"tags":[141],"_links":{"self":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/24409"}],"collection":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/comments?post=24409"}],"version-history":[{"count":29,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/24409\/revisions"}],"predecessor-version":[{"id":24492,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/24409\/revisions\/24492"}],"wp:attachment":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/media?parent=24409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/categories?post=24409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/tags?post=24409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}