diff --git a/package.json b/package.json
index b3a379da2c9e058ca7b067d414e7cb2860239340..6613400b4c80c37fb6871b01fd1f07b063e5e71e 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,9 @@
     "tsc": "tsc",
     "tscw": "tsc -w",
     "doc": "typedoc --out typedoc/ index.ts app/ --mode file --readme README.md --includeDeclarations --sourcefile-url-prefix \"https://git.duniter.org/nodes/typescript/duniter/blob/loki/\"",
-    "test": "nyc --reporter html mocha",
+    "test": "cargo test --all && nyc --reporter html mocha",
+    "test:rs": "cargo test --all",
+    "test:ts": "nyc --reporter html mocha",
     "start": "node bin/duniter start",
     "build": "./neon/build.sh && cd.. && tsc && cd \"../node_modules/duniter-ui\" && npm install && npm run build",
     "install": "./neon/build.sh",