<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How we made our rspec test suite to run 2x faster	</title>
	<atom:link href="/made-rspec-test-suite-run-2x-faster/feed/" rel="self" type="application/rss+xml" />
	<link>/made-rspec-test-suite-run-2x-faster/</link>
	<description>Red Panthers - Experts in Ruby on Rails, System Design and Vue.js</description>
	<lastBuildDate>Thu, 14 Sep 2017 04:11:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.2.7</generator>
			<item>
				<title>
				By: Tony Vince				</title>
				<link>/made-rspec-test-suite-run-2x-faster/#comment-74</link>
		<dc:creator><![CDATA[Tony Vince]]></dc:creator>
		<pubDate>Thu, 14 Sep 2017 04:11:00 +0000</pubDate>
		<guid isPermaLink="false">https://redpanthers.co/?p=3040#comment-74</guid>
					<description><![CDATA[great alternative.. Thanks]]></description>
		<content:encoded><![CDATA[<p>great alternative.. Thanks</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Tony Vincent T.Y				</title>
				<link>/made-rspec-test-suite-run-2x-faster/#comment-73</link>
		<dc:creator><![CDATA[Tony Vincent T.Y]]></dc:creator>
		<pubDate>Thu, 14 Sep 2017 04:01:00 +0000</pubDate>
		<guid isPermaLink="false">https://redpanthers.co/?p=3040#comment-73</guid>
					<description><![CDATA[Thanks Vitaly for your comment. Edited the article accordingly]]></description>
		<content:encoded><![CDATA[<p>Thanks Vitaly for your comment. Edited the article accordingly</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Patrick Helm				</title>
				<link>/made-rspec-test-suite-run-2x-faster/#comment-72</link>
		<dc:creator><![CDATA[Patrick Helm]]></dc:creator>
		<pubDate>Wed, 13 Sep 2017 16:41:00 +0000</pubDate>
		<guid isPermaLink="false">https://redpanthers.co/?p=3040#comment-72</guid>
					<description><![CDATA[:+1: ;)]]></description>
		<content:encoded><![CDATA[<p>:+1: 😉</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Vitaly Tatarintsev				</title>
				<link>/made-rspec-test-suite-run-2x-faster/#comment-71</link>
		<dc:creator><![CDATA[Vitaly Tatarintsev]]></dc:creator>
		<pubDate>Tue, 12 Sep 2017 06:39:00 +0000</pubDate>
		<guid isPermaLink="false">https://redpanthers.co/?p=3040#comment-71</guid>
					<description><![CDATA[This part cannot work:
&lt;pre&gt;&lt;code&gt;
before(:each) do
  let(:article) { Article.new }
  let(:author) { Author.new }
end
&lt;/code&gt;&lt;/pre&gt;
You will get:
&lt;pre&gt;
Failure/Error: let(:article) { Article.new }
        `let` is not available from within an example (e.g. an `it` block) or from constructs that run in the scope of an example (e.g. `before`, `let`, etc). It is only available on an example group (e.g. a `describe` or `context` block).
&lt;/pre&gt;
It should be either `let` or `before`.
In any case `before (:all)` can be pretty dangerous. Someday you may shoot yourself in the foot.
The main idea is that all tests should not depend on the results of others.
Using `before (:all)` objects `@autor` and `@article` are not recreated for each test.
That being said, if attributes of these objects are changed in some tests, that can affect results of other tests.]]></description>
		<content:encoded><![CDATA[<p>This part cannot work:</p>
<pre><code>
before(:each) do
  let(:article) { Article.new }
  let(:author) { Author.new }
end
</code></pre>
<p>You will get:</p>
<pre>
Failure/Error: let(:article) { Article.new }
        `let` is not available from within an example (e.g. an `it` block) or from constructs that run in the scope of an example (e.g. `before`, `let`, etc). It is only available on an example group (e.g. a `describe` or `context` block).
</pre>
<p>It should be either `let` or `before`.<br />
In any case `before (:all)` can be pretty dangerous. Someday you may shoot yourself in the foot.<br />
The main idea is that all tests should not depend on the results of others.<br />
Using `before (:all)` objects `@autor` and `@article` are not recreated for each test.<br />
That being said, if attributes of these objects are changed in some tests, that can affect results of other tests.</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Николай				</title>
				<link>/made-rspec-test-suite-run-2x-faster/#comment-70</link>
		<dc:creator><![CDATA[Николай]]></dc:creator>
		<pubDate>Mon, 11 Sep 2017 18:48:00 +0000</pubDate>
		<guid isPermaLink="false">https://redpanthers.co/?p=3040#comment-70</guid>
					<description><![CDATA[+ remove all callbacks in models]]></description>
		<content:encoded><![CDATA[<p>+ remove all callbacks in models</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Sharang Dashputre				</title>
				<link>/made-rspec-test-suite-run-2x-faster/#comment-69</link>
		<dc:creator><![CDATA[Sharang Dashputre]]></dc:creator>
		<pubDate>Sat, 09 Sep 2017 18:50:00 +0000</pubDate>
		<guid isPermaLink="false">https://redpanthers.co/?p=3040#comment-69</guid>
					<description><![CDATA[Small typo: &quot;Trvis Ci&quot;]]></description>
		<content:encoded><![CDATA[<p>Small typo: &#8220;Trvis Ci&#8221;</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: dontibu				</title>
				<link>/made-rspec-test-suite-run-2x-faster/#comment-67</link>
		<dc:creator><![CDATA[dontibu]]></dc:creator>
		<pubDate>Fri, 08 Sep 2017 13:16:00 +0000</pubDate>
		<guid isPermaLink="false">https://redpanthers.co/?p=3040#comment-67</guid>
					<description><![CDATA[There is a faster alternative(but maybe less flexible) to database_cleaner: https://github.com/amatsuda/database_rewinder.]]></description>
		<content:encoded><![CDATA[<p>There is a faster alternative(but maybe less flexible) to database_cleaner: <a href="https://github.com/amatsuda/database_rewinder" rel="nofollow">https://github.com/amatsuda/database_rewinder</a>.</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: dontibu				</title>
				<link>/made-rspec-test-suite-run-2x-faster/#comment-68</link>
		<dc:creator><![CDATA[dontibu]]></dc:creator>
		<pubDate>Fri, 08 Sep 2017 13:16:00 +0000</pubDate>
		<guid isPermaLink="false">https://redpanthers.co/?p=3040#comment-68</guid>
					<description><![CDATA[There is a faster(but less flexible) alternative to database_cleaner: https://github.com/amatsuda/database_rewinder.]]></description>
		<content:encoded><![CDATA[<p>There is a faster(but less flexible) alternative to database_cleaner: <a href="https://github.com/amatsuda/database_rewinder" rel="nofollow">https://github.com/amatsuda/database_rewinder</a>.</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: ArturT				</title>
				<link>/made-rspec-test-suite-run-2x-faster/#comment-66</link>
		<dc:creator><![CDATA[ArturT]]></dc:creator>
		<pubDate>Thu, 07 Sep 2017 20:58:00 +0000</pubDate>
		<guid isPermaLink="false">https://redpanthers.co/?p=3040#comment-66</guid>
					<description><![CDATA[Thanks for the article!
Regarding parallel tests when you have multiple parallel CI nodes then you can split test suite evenly across CI nodes with knapsack gem I developed https://github.com/ArturT/knapsack/ Maybe it will be helpful for someone :)]]></description>
		<content:encoded><![CDATA[<p>Thanks for the article!<br />
Regarding parallel tests when you have multiple parallel CI nodes then you can split test suite evenly across CI nodes with knapsack gem I developed <a href="https://github.com/ArturT/knapsack/" rel="nofollow">https://github.com/ArturT/knapsack/</a> Maybe it will be helpful for someone 🙂</p>
]]></content:encoded>
						</item>
			</channel>
</rss>
