Skip to content

Webextension to generate fake information (Creditcard, CPF, CNPJ, etc.)

Notifications You must be signed in to change notification settings

dbiagi/fake-info-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

fake-info-generator

About

Webextension to generate fake information like Credicards and CPF/CNPJ.

Obviously the credicard won't work. They are for testing purposes only. Without a valid owner name, an expiration date and a valid CVV code, it can't be used for real transactions. The algorithm is highly available on the internet and is known as Luhn algorithm.

The purpose of this extension is to test form validation strategies on staging environments.

This extension uses the webextension-toolbox to generate the extension packages. So, theoretically, it should work on Firefox, Chrome, Opera and Edge but is only tested on Firefox and Chrome.


Links

How to build

Install the dependencies

npm install

Run unit tests

npm test

Generate the extension package by vendor (firefox | chrome | edge | opera)

npm run build --vendor VENDOR_NAME