Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
HTML
<h1 id="devtest">Dev/Test</h1>
<p>Development tests are more difficult to create, but are also more flexible. In addition to UI/page-level testing, they could help with system-level testing, for example we could send/receive email, probably perform batch testing, etc.</p>
<h2 id="capybara"><a href="https://github.com/jnicklas/capybara">Capybara</a></h2>
<ul>
<li>Platforms: Linux, OS X, Windows</li>
<li>Browsers: Rack, Firefox, WebKit</li>
<li>Multiple drivers:
<ul>
<li>Rack (No JS)</li>
<li>Selenium (JS, drives Firefox)</li>
<li>Capybara-webkit (JS, headless, works on OS X or Linux)</li>
</ul></li>
</ul>
<h4 id="pros:">PROS:</h4>
<ul>
<li>Integrates with RSpec</li>
<li>Wide adoption</li>
<li>Active development</li>
<li>Nice DSL e.g. <code>click_link('id-of-link')</code></li>
</ul>
<h4 id="cons:">CONS:</h4>
<ul>
<li>Requires developers to create a script</li>
<li>Limited support for browsers</li>
<li>Default Selenium driver (Firefox) is slower</li>
</ul>
<h2 id="selenium"><a href="http://docs.seleniumhq.org">Selenium</a></h2>
<ul>
<li>Platforms: Linux, OS X, Windows</li>
<li>Browsers: All</li>
</ul>
<h4 id="pros:">PROS:</h4>
<ul>
<li>Wide adoption</li>
<li>Supports all browsers</li>
</ul>
<h4 id="cons:">CONS:</h4>
<ul>
<li>Requires developers to create a script</li>
<li>Clunky syntax e.g. <code>ancestor_element.find_element(:tag_name, 'a').click</code></li>
<li>No direct integration to RSpec</li>
</ul>
<h2 id="watir"><a href="https://github.com/watir/watir">Watir</a></h2>
<ul>
<li>Platforms: Linux, OS X, Windows</li>
<li>Browsers: IE, Firefox, Chrome</li>
<li>Inactive?</li>
</ul>
<h4 id="pros:">PROS:</h4>
<ul>
<li>Integrates with RSpec</li>
<li>Nice DSL</li>
</ul>
<h4 id="cons:">CONS:</h4>
<ul>
<li>Requires developers to create a script</li>
<li>Inactive?</li>
</ul>
<h1 id="gui">GUI</h1>
<p>GUI tests would be easier to create, but less flexible. They would be most applicable to UI/web page interactions rather than system functionality.</p>
<h2 id="seleniumide"><a href="http://docs.seleniumhq.org/projects/ide/">Selenium IDE</a></h2>
<ul>
<li>Platforms: Linux, OS X, Windows</li>
<li>Browsers: Firefox</li>
</ul>
<h4 id="pros:">PROS:</h4>
<ul>
<li>Anybody can create a script</li>
</ul>
<h4 id="cons:">CONS:</h4>
<ul>
<li>Only supports Firefox</li>
<li>Slower (drives browser)</li>
<li>No integration with developer workflow</li>
</ul>
<h2 id="sahiopensource"><a href="http://sahipro.com/sahi-open-source/">Sahi Open Source</a></h2>
<ul>
<li>Platforms: Linux, OS X, Windows</li>
<li>Browsers: All</li>
</ul>
<h4 id="pros:">PROS:</h4>
<ul>
<li>Anybody can create a script</li>
<li>Supports all platforms and browsers</li>
</ul>
<h4 id="cons:">CONS:</h4>
<ul>
<li>Limited open source version</li>
<li>Slower (drives browser)</li>
<li>No integration with developer workflow</li>
</ul>
<h2 id="twist"><a href="http://www.thoughtworks.com/products/twist-agile-testing/">Twist</a></h2>
<ul>
<li>Platforms: Linux, OS X, Windows</li>
<li>Browsers: All</li>
</ul>
<h4 id="pros:">PROS:</h4>
<ul>
<li>Anybody can create a script</li>
<li>Supports all platforms and browsers</li>
</ul>
<h4 id="cons:">CONS:</h4>
<ul>
<li>$$$</li>
<li>Slower (drives browser)</li>
<li>No integration with developer workflow</li>
</ul>
<h2 id="fake"><a href="http://fakeapp.com">Fake</a></h2>
<ul>
<li>Platforms: OS X</li>
<li>Browsers: Safari</li>
</ul>
<h4 id="pros:">PROS:</h4>
<ul>
<li>Anybody can create a script</li>
</ul>
<h4 id="cons:">CONS:</h4>
<ul>
<li>Only supports OS X &amp; Safari</li>
<li>Slower (drives browser)</li>
<li>No integration with developer workflow</li>
</ul>