From 758a106e7eb51886639598e2271e96bf9e786e34 Mon Sep 17 00:00:00 2001 From: Lenka Segura Date: Jan 10 2019 15:52:54 +0000 Subject: add test info --- diff --git a/README.md b/README.md index ad7a050..13daea4 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,11 @@ homepage: https://pagure.io/cranc ### What Cranc does -At the moment cranc lists pull requests. -With this command: +At the moment cranc lists pull requests and issues of a project. +With this commands: -`cranc pr list` +`cranc get prs` +`cranc get issues` ### About its name @@ -30,7 +31,7 @@ Retrieve the sources: Install dependencies: -`pip install -t requirements.txt` +`pip install -r requirements.txt` Run the setup file. This creates a link in the venv directory pointing to the cranc directory: @@ -43,3 +44,13 @@ Run the app: Or run the command: `cranc pr list` + +### Test + +To run tests type: + +`pytest` + +Or to run only 1 test type: + +`pytest tests/[name_of_the_test]