Skip to content

storytouch/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

utils

This repository contains files for many purposes.

Scripts

run_many_times

Copy this script to web/react-webpack/test and execute it to run a command repeatedly and to show how many times it has succed or failed. It's useful to verify instability in automated tests. You should run it inside webpack container. Usage example:

# enter webpack container bash
docker-compose exec webpack /bin/bash

# run help.spec.js test case 5 times
./test/run_many_times.sh 'yarn test:integration:singleuser:single test/integration/home/help.spec.js' 5

open-vinagre

This script is only for users running on Linux.

Execute this script to open Vinagre VNC to connect to chrome containers when running integration tests locally.

When you are prompted for the password, it is secret, as specified in the "docker-selenium" github page,

count_lines_of_code

Enter in any repo and run this command to count lines of code in the repo. It will show the number of lines of code for each language and the total number of lines of code.

# install cloc if not installed
sudo apt install cloc

About

This repository contains files for many purposes

Resources

Stars

0 stars

Watchers

6 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages