<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Software testing ruby tutorials and videos</title>
	<atom:link href="https://www.softwaretestingmagazine.com/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.softwaretestingmagazine.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Sep 2024 13:33:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.softwaretestingmagazine.com/wp-content/uploads/favicon.png</url>
	<title>Software testing ruby tutorials and videos</title>
	<link>https://www.softwaretestingmagazine.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>RSpec &#8211; Behavior-Driven Development for Ruby</title>
		<link>https://www.softwaretestingmagazine.com/tools/rspec-behavior-driven-development-for-ruby/</link>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Fri, 09 Sep 2022 06:00:25 +0000</pubDate>
				<category><![CDATA[Software Testing Tools]]></category>
		<category><![CDATA[Behavior-Driven Development (BDD)]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[TDD]]></category>
		<guid isPermaLink="false">http://www.softwaretestingmagazine.com/?p=1348</guid>

					<description><![CDATA[<p>RSpec is an open source Behavior-Driven Development (BDD) ruby package that lets you build a specification alongside your software. BDD is an approach to software development that combines Test-Driven Development (TDD), Domain Driven Design and Acceptance Test-Driven Planning. RSpec helps you do the TDD part of that equation, focusing on the documentation and design aspects of TDD. You start by describing what you want, using #describe to define each method passing the method’s name as the argument. For class method Rspec prefix a &#8220;.&#8221; to the name, and for instance level Rspec uses a &#8220;#&#8221; prefix. This is similar to standard Ruby documentation practices. You define the #context to explain the different scenarios in which the method could be executed. Each #context describes the state of the world before execution of the method. You need a context for each execution path through a method. Finally, you specify the behavior with the objective of having only one behavior specified in each example. Given a file named &#8220;sample_spec.rb&#8221; with: describe "something" do it "does something" do end end When I run `rspec sample_spec.rb -fn` Then the output should contain: something does something RSpec Best Practices * Don&#8217;t begin example names with the word &#8220;should&#8221;. * Use the right matcher: avoid # before with a double negative * Use the &#8220;before :all&#8221; block carefully * Do not create hundreds of records for a particular spec * Do not over-mock * Test the edge cases * Stop &#8220;spec_helper&#8221; from being loaded multiple times * <a class="mh-excerpt-more" href="https://www.softwaretestingmagazine.com/tools/rspec-behavior-driven-development-for-ruby/" title="RSpec &#8211; Behavior-Driven Development for Ruby">[...]</a></p>
The post <a href="https://www.softwaretestingmagazine.com/tools/rspec-behavior-driven-development-for-ruby/">RSpec – Behavior-Driven Development for Ruby</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>Easy Browser Testing Using RSpec and Rails 5.1</title>
		<link>https://www.softwaretestingmagazine.com/videos/easy-browser-testing-using-rspec-and-rails-5-1/</link>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Tue, 11 Jun 2019 13:17:20 +0000</pubDate>
				<category><![CDATA[Software Testing Videos]]></category>
		<category><![CDATA[Behavior-Driven Development (BDD)]]></category>
		<category><![CDATA[ruby]]></category>
		<guid isPermaLink="false">https://www.softwaretestingmagazine.com/?p=7093</guid>

					<description><![CDATA[<p>This presentation explains the new system specs in RSpec, how to set them up, and what benefits they provide to test the browser stack of your application. If you want to improve your RSpec testing suite for your browser including JavaScript with full stack testing this talk is for you! Traditionally doing a full stack test of a Ruby on Rails application with RSpec has been problematic. The browser wouldn&#8217;t automate, Capybara configuration would be a nightmare, and cleaning up your database was difficult. In Rails 5.1 the new &#8216;system test&#8217; type was added to address this. With modern RSpec and Ruby on Rails, testing every part of your stack including JavaScript from a browser is now a breeze. Video producer: http://confreaks.com/ Conference organizer: https://railsconf.com/</p>
The post <a href="https://www.softwaretestingmagazine.com/videos/easy-browser-testing-using-rspec-and-rails-5-1/">Easy Browser Testing Using RSpec and Rails 5.1</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>Stop Hating your Test Suite</title>
		<link>https://www.softwaretestingmagazine.com/videos/stop-hating-your-test-suite/</link>
					<comments>https://www.softwaretestingmagazine.com/videos/stop-hating-your-test-suite/#comments</comments>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Tue, 24 Nov 2015 18:06:58 +0000</pubDate>
				<category><![CDATA[Software Testing Videos]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[test plan]]></category>
		<guid isPermaLink="false">http://www.softwaretestingmagazine.com/?p=4116</guid>

					<description><![CDATA[<p>Your application is a unique snowflake. Your software tests are too… but they shouldn&#8217;t be! Years helping teams write better tests has taught me one thing: consistency is crucial. Inconsistent tests slow teams down, wasting time to understand how each test works. Deciding on conventions—even arbitrary ones—can prevent tremendous pain later. This talk introduces a ready-to-fork Test Style Guide of carefully-considered rules and templates for Rubyists. You can customize it to fit your preferred tools, too. Soon, you&#8217;ll be on your way to having more consistent tests that are much more fun to maintain! Conference organizer: http://rubyconf.org/ Video producer: http://confreaks.tv/</p>
The post <a href="https://www.softwaretestingmagazine.com/videos/stop-hating-your-test-suite/">Stop Hating your Test Suite</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
					<wfw:commentRss>https://www.softwaretestingmagazine.com/videos/stop-hating-your-test-suite/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Better RSpec Specs</title>
		<link>https://www.softwaretestingmagazine.com/resources/better-rspec-specs/</link>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Tue, 17 Feb 2015 18:32:25 +0000</pubDate>
				<category><![CDATA[Software Testing Resources]]></category>
		<category><![CDATA[agile testing]]></category>
		<category><![CDATA[Behavior-Driven Development (BDD)]]></category>
		<category><![CDATA[functional testing]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[ruby]]></category>
		<guid isPermaLink="false">http://www.softwaretestingmagazine.com/?p=3548</guid>

					<description><![CDATA[<p>Behaviour Driven Development (BDD) is an Agile software development process where behavioural specifications are expressed in a specific language that can be validated by a automated testing tool. RSpec is an open source a BDD tool for Ruby programmers. The Better Specs web site aims to collect the best practices about BDD with RSpec. This web site provides primarily a list of best practices on how to write the specifications about the description, the context, the usage of mock, etc. It lists also books, presentations, screencasts and other resources on the web about this topic. This web site is an open source project that you can contribute to improve. Visit the Better Specs web site on http://betterspecs.org/</p>
The post <a href="https://www.softwaretestingmagazine.com/resources/better-rspec-specs/">Better RSpec Specs</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>Effective Debugging</title>
		<link>https://www.softwaretestingmagazine.com/videos/effective-debugging/</link>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Thu, 09 Oct 2014 10:02:54 +0000</pubDate>
				<category><![CDATA[Software Testing Videos]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[ruby]]></category>
		<guid isPermaLink="false">http://www.softwaretestingmagazine.com/?p=3273</guid>

					<description><![CDATA[<p>Developers are always looking for ways to boost productivity. Effective debugging allows one to more quickly discover inaccuracies between our expectations and how the software actually behaves. Debugging is an art. And to be an effective artist, an artist must be intimately familiar with their tools. In this talk, we&#8217;ll start gently and finish strong to ensure that there&#8217;s something for everyone. We&#8217;ll cover when to use a debugger, which debugger to use, and how to use the debugger, and how to quickly configure your debugger for maximum utility. We&#8217;ll touch briefly on pry and why pry is not a debugger, except when it is. Video producer: http://rubyconf.org/</p>
The post <a href="https://www.softwaretestingmagazine.com/videos/effective-debugging/">Effective Debugging</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>Outward-in Development, Unit Tests and Fixture Data</title>
		<link>https://www.softwaretestingmagazine.com/videos/outward-in-development-unit-tests-and-fixture-data/</link>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Thu, 16 Jan 2014 20:52:28 +0000</pubDate>
				<category><![CDATA[Software Testing Videos]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[TDD]]></category>
		<category><![CDATA[unit testing]]></category>
		<guid isPermaLink="false">http://www.softwaretestingmagazine.com/?p=2667</guid>

					<description><![CDATA[<p>Test-Driven Development (TDD) can be difficult to practice as features increase in complexity. Testing is often skipped when developers feel uncomfortable with TDD or have not yet seen certain approaches in practice. This video describes specific techniques used in TDD which touch on: Integration testing with RSpec+Capybara, Model Associations and Data Validations, Asynchronous Jobs, Emails, 3rd Party Services, and JSON API endpoints. Video producer: http://www.railsconf.com/</p>
The post <a href="https://www.softwaretestingmagazine.com/videos/outward-in-development-unit-tests-and-fixture-data/">Outward-in Development, Unit Tests and Fixture Data</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>The Magic Tricks of Software Testing</title>
		<link>https://www.softwaretestingmagazine.com/videos/the-magic-tricks-of-testing/</link>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Tue, 19 Nov 2013 21:12:31 +0000</pubDate>
				<category><![CDATA[Software Testing Videos]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[unit testing]]></category>
		<guid isPermaLink="false">http://www.softwaretestingmagazine.com/?p=2564</guid>

					<description><![CDATA[<p>Tests are supposed to save us money. How is it, then, that many times they become millstones around our necks, gradually morphing into fragile, breakable things that raise the cost of change? We write too many tests and we test the wrong kinds of things. This talk strips away the veil and offers simple, practical guidelines for choosing what to test and how to test it. Finding the right software testing balance isn&#8217;t magic, it&#8217;s a magic trick; come and learn the secret of writing stable tests that protect your application at the lowest possible cost. Event: http://www.railsconf.com/ Video producer: http://confreaks.com/</p>
The post <a href="https://www.softwaretestingmagazine.com/videos/the-magic-tricks-of-testing/">The Magic Tricks of Software Testing</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>Make Testing Fun with Test Reporters</title>
		<link>https://www.softwaretestingmagazine.com/videos/make-testing-fun-with-test-reporters/</link>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Wed, 06 Nov 2013 20:08:25 +0000</pubDate>
				<category><![CDATA[Software Testing Videos]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[test automation]]></category>
		<guid isPermaLink="false">http://www.softwaretestingmagazine.com/?p=2528</guid>

					<description><![CDATA[<p>Slow tests got you down? As Ruby developers, you might watch a lot of tests run in a given day. So why not make it more fun? This talk takes a light-hearted approach to introducing you to an array of test reporters including MiniTest&#8217;s Pride, Fuubar, and Nyan Cat Formatter. In addition, it shows how easy it is to make your very own test reporter for both Rspec or Minitest so you can have a more enjoyable testing experience. Video producer: http://www.rubymidwest.com/</p>
The post <a href="https://www.softwaretestingmagazine.com/videos/make-testing-fun-with-test-reporters/">Make Testing Fun with Test Reporters</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
		
		
			</item>
	</channel>
</rss>
