<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Amir Rustamzadeh</title>
    <description>The latest articles on DEV Community by Amir Rustamzadeh (@amirrustam).</description>
    <link>https://dev.to/amirrustam</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F58194%2F909f4dcd-209e-4904-91a5-022fa5dcc274.jpg</url>
      <title>DEV Community: Amir Rustamzadeh</title>
      <link>https://dev.to/amirrustam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amirrustam"/>
    <language>en</language>
    <item>
      <title>Introducing the Cypress Real World App</title>
      <dc:creator>Amir Rustamzadeh</dc:creator>
      <pubDate>Fri, 12 Jun 2020 13:27:39 +0000</pubDate>
      <link>https://dev.to/cypress/introducting-the-cypress-real-world-app-d3j</link>
      <guid>https://dev.to/cypress/introducting-the-cypress-real-world-app-d3j</guid>
      <description>&lt;p&gt;We recently &lt;a href="https://github.com/cypress-io/cypress-realworld-app" rel="noopener noreferrer"&gt;open-sourced the Cypress Real World App (RWA) project on GitHub&lt;/a&gt;. The RWA is an example payment application for demonstrating real-world usage of Cypress testing methods, patterns, practices, and workflows.&lt;/p&gt;

&lt;p&gt;You can use this app to learn, experiment, tinker, and practice application testing with Cypress. We consistently heard from our community that users needed a fully-formed, realistic, and relatable demonstrations of Cypress in practice. Users desired guidance beyond ad-hoc recipes and simple demo apps to leverage the capabilities of Cypress fully.&lt;/p&gt;

&lt;p&gt;Motivated by the community feedback, we set out to build an application that was sufficiently-complex yet approachable. We aimed to accomplish and demonstrate the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Easy &amp;amp; Quick Setup.&lt;/strong&gt; There are no additional dependencies to install. The RWA uses lowDB, a JS-based JSON database, so no need to fuss with a database setup. Just clone, install and run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;100% Code Coverage.&lt;/strong&gt; The app is instrumented for code coverage-reporting and achieves full coverage for backend and frontend code purely with E2E tests.
Responsive Testing. All test suites run in desktop and mobile viewports in CI. To check out testing in mobile viewports, just run &lt;code&gt;yarn cypress:open:mobile&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-browser Testing.&lt;/strong&gt; All test suites are tested in Chrome and Firefox in CI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cypress-specific Practices.&lt;/strong&gt; We demonstrate practices that are unique to or made easy with Cypress, such as tapping into the state of your app, programmatic authentication, advanced custom commands, and more techniques to help you compose efficient tests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database Seeding.&lt;/strong&gt; Test data generation and database reseeding during testing. We also demonstrate how to compose E2E tests by directly querying the database for fetching test data or to make assertions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CI Best Practices.&lt;/strong&gt; The RWA is tested on every pushed commit with a CI configuration that is readable and powerful. It handles parallelization, multi-viewport jobs, cross-browser jobs, and code-coverage reporting. You can view all the CI runs within the &lt;a href="https://dashboard.cypress.io/projects/7s5okt" rel="noopener noreferrer"&gt;Cypress Dashboard&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The current state of the RWA is simply a starting point, and it serves as a foundation for the development of various prescriptive and in-depth guides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Test Organization &amp;amp; Approach&lt;/strong&gt;: Effective test writing, test organization, scalable patterns, and best practices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Initialization&lt;/strong&gt;: Methodologies for initializing data at the database and application layer for testing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Authentication&lt;/strong&gt;: Practices for testing various authentication methods.&lt;/li&gt;
&lt;li&gt;and more specialized guides.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're interested in these guides, make sure to subscribe to our newsletter or follow the updates on Twitter.&lt;/p&gt;

&lt;p&gt;We hope you find this project useful for learning testing and Cypress. We've got more in store, and value your feedback. &lt;a href="https://github.com/cypress-io/cypress-realworld-app" rel="noopener noreferrer"&gt;Get started with the RWA&lt;/a&gt; today:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Clone: &lt;code&gt;git clone https://github.com/cypress-io/cypress-realworld-app.git&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Install: &lt;code&gt;yarn install&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Start the app: &lt;code&gt;yarn start&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Start testing: &lt;code&gt;yarn cypress:open&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Happy Testing!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Introducing Firefox and Edge Support in Cypress 4.0</title>
      <dc:creator>Amir Rustamzadeh</dc:creator>
      <pubDate>Thu, 06 Feb 2020 21:20:47 +0000</pubDate>
      <link>https://dev.to/cypress/introducing-firefox-and-edge-support-in-cypress-4-0-4nda</link>
      <guid>https://dev.to/cypress/introducing-firefox-and-edge-support-in-cypress-4-0-4nda</guid>
      <description>&lt;p&gt;Today, we're excited to &lt;a href="http://on.cypress.io/changelog#4-0-0" rel="noopener noreferrer"&gt;release&lt;/a&gt; the highly-anticipated support for Firefox and the new Microsoft Edge browsers in &lt;a href="http://on.cypress.io/changelog#4-0-0" rel="noopener noreferrer"&gt;Cypress 4.0&lt;/a&gt;. Adding the capability to run Cypress tests in Firefox has been one of the most frequently requested features by the community. So our team has been working hard to provide this feature with the same great developer experience users have come to enjoy and expect from Cypress.&lt;/p&gt;

&lt;p&gt;With the power of testing in multiple browsers, comes the responsibility of implementing the right CI strategy to achieve an optimal balance of confidence, performance, and cost. To guide these crucial decisions, we're launching a new &lt;a href="https://on.cypress.io/cross-browser-testing" rel="noopener noreferrer"&gt;Cross Browser Testing Guide&lt;/a&gt; with various recommendations to help you implement the right CI strategy for your project and team.&lt;/p&gt;

&lt;p&gt;Cypress 4.0 marks a significant milestone in the development of Cypress and sets the stage for an exciting pipeline of capabilities that will continue to elevate the testing experience for everyone.&lt;/p&gt;

&lt;p&gt;Install or upgrade (&lt;a href="https://docs.cypress.io/guides/references/migration-guide.html#Migrating-to-Cypress-4-0" rel="noopener noreferrer"&gt;migration guide&lt;/a&gt;) to version 4.0 today. Get started by checking out the new &lt;a href="https://on.cypress.io/cross-browser-testing" rel="noopener noreferrer"&gt;Cross Browser Testing Guide&lt;/a&gt;. If you're entirely new to Cypress, check out our &lt;a href="http://on.cypress.io/installing-cypress" rel="noopener noreferrer"&gt;Getting Started Guide&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>testing</category>
      <category>e2e</category>
      <category>javascript</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
