<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lxyuma</author_name>
  <author_url>https://blog.hatena.ne.jp/lxyuma/</author_url>
  <blog_title>lxyuma BLOG</blog_title>
  <blog_url>https://lxyuma.hatenablog.com/</blog_url>
  <categories>
    <anon>Backbone.js</anon>
    <anon>javascript</anon>
    <anon>TDD</anon>
  </categories>
  <description>経緯 Backbone.jsでTDD書く時に、 Model/CollectionはServerSideのようなイメージで書けるのだが、 Viewのテストがfrontend特有の事があり、結構、悩ましい。 ここでは、Backbone.Viewを中心に、 テストで悩ましい所をどう解決していくか、試行錯誤している所等書く。 ※どちらかというと、初めにどう書いて行くか？のTDD寄りの話。 ちなみに、環境は、 Backbone Marionette.js Test mocha chai sinon.js を使ってる。 概要 Backbone.Viewのテストの基本形 悩み１： javascript vs…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flxyuma.hatenablog.com%2Fentry%2F2013%2F12%2F23%2F215353&quot; title=&quot;Backbone.jsのテストの悩みとその解決 - lxyuma BLOG&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-12-23 21:53:53</published>
  <title>Backbone.jsのテストの悩みとその解決</title>
  <type>rich</type>
  <url>https://lxyuma.hatenablog.com/entry/2013/12/23/215353</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
