<?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: Rohit Bakoliya</title>
    <description>The latest articles on DEV Community by Rohit Bakoliya (@rohitbakoliya).</description>
    <link>https://dev.to/rohitbakoliya</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%2F459970%2F474b54f6-17c3-43ca-ad0b-562bddfb7ec4.jpg</url>
      <title>DEV Community: Rohit Bakoliya</title>
      <link>https://dev.to/rohitbakoliya</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rohitbakoliya"/>
    <language>en</language>
    <item>
      <title>Test-gen: Quickly Generate test cases using interactive CLI</title>
      <dc:creator>Rohit Bakoliya</dc:creator>
      <pubDate>Thu, 04 Feb 2021 12:46:22 +0000</pubDate>
      <link>https://dev.to/rohitbakoliya/test-gen-quickly-generate-test-cases-using-interactive-cli-589d</link>
      <guid>https://dev.to/rohitbakoliya/test-gen-quickly-generate-test-cases-using-interactive-cli-589d</guid>
      <description>&lt;p&gt;Hi 👋, Competitive Fans! &lt;/p&gt;

&lt;p&gt;Sometimes generating test-cases in between the contests to finding bugs is a bit tedious when it comes to generating tests for complex pattern strings, trees, or graphs.&lt;/p&gt;

&lt;p&gt;Here I come with a solution, A minimal interactive-CLI that can generate test-cases of almost all input types. It also allows us to leverage the Regular Expression's power to generate complex test-cases and make CLI simpler. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0xiNujm8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/vhnbevofecek0ylj9s87.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0xiNujm8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/vhnbevofecek0ylj9s87.gif" alt="demo"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Node.js&lt;/code&gt; and &lt;code&gt;NPM&lt;/code&gt; are needed to install this CLI.&lt;/p&gt;

&lt;h3&gt;
  
  
  Install
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;npm i &lt;span class="nt"&gt;-g&lt;/span&gt; @rohitbakoliya/test-gen

&lt;span class="c"&gt;# or without installing it globally&lt;/span&gt;
&lt;span class="nv"&gt;$ &lt;/span&gt;npx @rohitbakoliya/test-gen
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Usage
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;test-gen
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Built With
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Node&lt;/li&gt;
&lt;li&gt;Typescript&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/rohitbakoliya/test-gen/blob/093ce77d4ab6e1a1bf6d406e3b1e007f9bbddb92/package.json#L79"&gt;More deps&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;The initial release doesn't support command-line arguments and custom seed value, no need though but some of may prefer to use, so I'll probably work on these.&lt;/p&gt;

&lt;p&gt;In case you are curious, here's the source code 👇&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--i3JOwpme--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-ba8488d21cd8ee1fee097b8410db9deaa41d0ca30b004c0c63de0a479114156f.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/rohitbakoliya"&gt;
        rohitbakoliya
      &lt;/a&gt; / &lt;a href="https://github.com/rohitbakoliya/test-gen"&gt;
        test-gen
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      🧪 Test Generator CLI | Quickly generate test cases for stress testing
    &lt;/h3&gt;
  &lt;/div&gt;
&lt;/div&gt;



&lt;p&gt;If you found any bug, feel free to open up an &lt;a href="https://github.com/rohitbakoliya/test-gen/issues/new?assignees=&amp;amp;labels=bug&amp;amp;template=bug_report.md&amp;amp;title="&gt;issue&lt;/a&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Thank you for reading!&lt;br&gt;
I'd love to hear your thoughts on the project.&lt;br&gt;
Have a nice day 😄&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>showdev</category>
      <category>testing</category>
      <category>typescript</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
