No description
Find a file
2021-12-06 00:04:26 +01:00
app Add stress test to confirm hypothesis of misconception 2021-12-06 00:04:26 +01:00
bootstrap Init 2020-12-01 17:02:10 +01:00
clients Add stress test to confirm hypothesis of misconception 2021-12-06 00:04:26 +01:00
config add LdcWebStatusChecker 2021-12-03 14:36:12 +01:00
database Fix repair_stats_jobs migration not deleting jobs 2021-11-05 16:23:01 +01:00
MIG CRM Migrate from old CRM (Le Gaulois) 2021-04-19 10:51:27 +02:00
public overhaull UI upgrade 2021-09-09 16:08:37 +02:00
resources print Stats to JS 2021-11-03 17:02:59 +01:00
routes Stat Api phase 1 CRM side + test 2021-11-05 14:46:53 +01:00
storage - Add Arcada outgoingMail 2021-02-19 16:32:08 +01:00
tests Add stress test to confirm hypothesis of misconception 2021-12-06 00:04:26 +01:00
.editorconfig Init 2020-12-01 17:02:10 +01:00
.env.example CRM Migrate from old CRM (Le Gaulois) 2021-04-19 10:51:27 +02:00
.env.testing.example change unit test server ip from 127.0.0.25 to 127.0.0.1 (seems to have stoped working on wsl ?) 2021-10-26 10:00:27 +02:00
.gitattributes Init 2020-12-01 17:02:10 +01:00
.gitignore overhaull UI upgrade 2021-09-09 16:08:37 +02:00
.gitmodules cleanup git module flaw 2021-12-05 18:28:53 +01:00
.styleci.yml Init 2020-12-01 17:02:10 +01:00
artisan Init 2020-12-01 17:02:10 +01:00
composer.json Add stress test to confirm hypothesis of misconception 2021-12-06 00:04:26 +01:00
composer.lock Add stress test to confirm hypothesis of misconception 2021-12-06 00:04:26 +01:00
CRM V2.code-workspace mise à plat, renomage v1 et v2 en V1 et V2 2021-07-28 14:18:47 +02:00
package.json add laravel-mix-clean 2021-11-10 16:57:03 +01:00
phpcs.xml phpcs unused imports 2021-08-10 12:08:34 +02:00
phpunit.xml Add stress test to confirm hypothesis of misconception 2021-12-06 00:04:26 +01:00
README.md update readme tests 2021-12-05 19:28:53 +01:00
server.php Init 2020-12-01 17:02:10 +01:00
stresstest.sh Add stress test to confirm hypothesis of misconception 2021-12-06 00:04:26 +01:00
test.sh Add stress test to confirm hypothesis of misconception 2021-12-06 00:04:26 +01:00
webpack.mix.js add laravel-mix-clean 2021-11-10 16:57:03 +01:00

Comment lancer les tests unitaires ?

Attention, si vous utilisez juste un .env à la place d'un .env.testing votre base de donnée de developpement sera effacée à chaque lancement des tests unitaires

Prérequis :

  • Avoir un serveur memcached sur 127.0.0.1:11211
  • Avoir l'extension memcached

Etapes :

  • cp .env.testing.example .env.testing (spécial tests unitaires)
  • php artisan key:generate
  • parameter les BDD dans le .env.testing
  • php artisan config:cache
  • git submodule init
  • git submodule update (récupérer le client)
  • composer install
  • service start memcached
  • service start mysql (votre base de donnée accessible sur 127.0.0.1:3306)
  • chmod u+x ./test.sh
  • composer run test