<?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: Samer Al-Saqqa</title>
    <description>The latest articles on DEV Community by Samer Al-Saqqa (@ssagga).</description>
    <link>https://dev.to/ssagga</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%2F410544%2Fc3668249-fb7d-465c-87f8-9ebaa955601a.jpeg</url>
      <title>DEV Community: Samer Al-Saqqa</title>
      <link>https://dev.to/ssagga</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ssagga"/>
    <language>en</language>
    <item>
      <title>Firebase Trigger Functions Testing with JEST and Emulators</title>
      <dc:creator>Samer Al-Saqqa</dc:creator>
      <pubDate>Thu, 18 Jun 2020 12:15:36 +0000</pubDate>
      <link>https://dev.to/ssagga/firebase-trigger-functions-testing-with-jest-and-emulators-5dc2</link>
      <guid>https://dev.to/ssagga/firebase-trigger-functions-testing-with-jest-and-emulators-5dc2</guid>
      <description>&lt;p&gt;In this 2 part video series, I will be sharing with you an approach through which you will be able to write tests using JEST and to assert results of side effects executed by Firebase cloud trigger functions locally on your machine without having to deploy to the cloud and/or to test online. We will be using JEST as a testing library and utilizing the Firebase emulators to serve an instance of our project on our machine.&lt;/p&gt;

&lt;p&gt;[Part 1: Setup]&lt;br&gt;
In this part we will be setting up our dev environment.&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/2X7DPxI6E_I"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;[Part 2: Writing Tests]&lt;br&gt;
In this part we will be using the local Firebase Functions and Firestore emulators. Using Jest, we will execute a test routine which writes a document to the database and asserts the results of a trigger function copying that document to another collection.&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/8IoCPZJ-zwA"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;You can download the project source code from Github:&lt;br&gt;
&lt;a href="https://github.com/ssagga/firebase-emulators-testing-with-jest"&gt;https://github.com/ssagga/firebase-emulators-testing-with-jest&lt;/a&gt;&lt;/p&gt;

</description>
      <category>jest</category>
      <category>firebase</category>
      <category>javascript</category>
      <category>serverless</category>
    </item>
    <item>
      <title>Strapi | Advanced Customization and Plugin Development</title>
      <dc:creator>Samer Al-Saqqa</dc:creator>
      <pubDate>Tue, 16 Jun 2020 20:25:09 +0000</pubDate>
      <link>https://dev.to/ssagga/strapi-advanced-customization-and-plugin-development-3ha</link>
      <guid>https://dev.to/ssagga/strapi-advanced-customization-and-plugin-development-3ha</guid>
      <description>&lt;p&gt;In this video we will go through installing and running an instance of Strapi, understanding its folder structure and some of its inner workings by creating a custom plugin which has its own model and controllers and that exposes its own API routes, while utilizing and extending some of Strapi's core functionalities and built-in policies.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/kIZHzbmnhnU"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>strapi</category>
      <category>cms</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
