<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — End to End Tests]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5149&amp;type=atom" />
	<updated>2014-09-10T14:06:38Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5149</id>
		<entry>
			<title type="html"><![CDATA[Re: End to End Tests]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=20754#p20754" />
			<content type="html"><![CDATA[<p>The <a href="https://github.com/cambell-prince/frontaccounting">GitHub Readme</a> has a badge on it that shows the status of the build; passing or failing.</p><p>The full build log can be <a href="https://travis-ci.org/cambell-prince/frontaccounting">found on Travis</a>.</p><p>Protractor uses the Jasmine test language framework.&nbsp; Here&#039;s a snippet of the test code; it is very easy to read for code, and quite easy to write.</p><div class="codebox"><pre><code>  it(&#039;transfers ok&#039;, function () {
    page.get(&#039;/gl/bank_transfer.php&#039;);
    expect(page.getTitle()).toEqual(&#039;Bank Account Transfer Entry&#039;);
    expect(page.getReference()).not.toEqual(&#039;&#039;);
    page.transfer(&#039;Current account&#039;, &#039;Petty Cash account&#039;, &#039;1/2/2013&#039;, &#039;11&#039;, &#039;Some memo&#039;, null);
    expect(page.getNoteMessage()).toEqual(&#039;Transfer has been entered&#039;);
  });</code></pre></div><p>If folk would like to contribute tests I can give some guidance in getting setup.</p>]]></content>
			<author>
				<name><![CDATA[cambell]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19447</uri>
			</author>
			<updated>2014-09-10T14:06:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=20754#p20754</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: End to End Tests]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=20750#p20750" />
			<content type="html"><![CDATA[<p>Is the URL different from your wrapper github repo?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-09-10T13:21:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=20750#p20750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: End to End Tests]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=20742#p20742" />
			<content type="html"><![CDATA[<p>The tests are now running on Travis-CI</p>]]></content>
			<author>
				<name><![CDATA[cambell]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19447</uri>
			</author>
			<updated>2014-09-10T07:02:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=20742#p20742</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: End to End Tests]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=20734#p20734" />
			<content type="html"><![CDATA[<p>Included it in the wiki</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-09-10T03:25:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=20734#p20734</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[End to End Tests]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=20725#p20725" />
			<content type="html"><![CDATA[<p>I&#039;ve started making some end to end tests using <a href="http://angular.github.io/protractor/#/">Protractor</a> in order to test the FrontAccounting UI.&nbsp; This will help keep the product stable during any refactoring / improvement.</p><p>If anyone would like to add to the test suite (which only has 1 test in it right now) please make a pull request against <a href="https://github.com/cambell-prince/frontaccounting-wrapper">this GitHub repository</a>.</p><p>Currently I&#039;ve configured the tests to use either Chrome or PhantomJS (which works headless and slightly faster than Chrome).&nbsp; I&#039;ll have a look at putting them up on Travis.</p>]]></content>
			<author>
				<name><![CDATA[cambell]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19447</uri>
			</author>
			<updated>2014-09-09T13:12:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=20725#p20725</id>
		</entry>
</feed>
