From e46c5b2f8fbfba3b2814e2d21b98400ff17854f7 Mon Sep 17 00:00:00 2001 From: PhoeniXAbhisheK Date: Mar 03 2019 06:01:07 +0000 Subject: Added instructions for tests Added instructions for tests Added instructions for tests newline added --- diff --git a/docs/setup/development_windows.rst b/docs/setup/development_windows.rst index d28647b..5f95903 100644 --- a/docs/setup/development_windows.rst +++ b/docs/setup/development_windows.rst @@ -18,7 +18,7 @@ You will need the following programs installed on your system before proceeding Setting up the development environment ======================================== -#. Fork the `current repository `_ to your profile . +#. Fork the `current repository `_ to your profile. #. Clone this forked repository to your system using Git with the following command:: git clone "https://pagure.io/forks//fedora-commops/fedora-happiness-packets.git" @@ -74,11 +74,12 @@ In order to run tests, make sure to execute ``docker-compose up`` command. Now i docker-compose exec web sh Then the terminal will show a ``#`` symbol. -Simply type in ``t`` to initiate the test suite. +Simply type in ``./t`` (or ``t``) to initiate the test suite. -(The test suite are run by running the ``t`` script, which runs the tests with the appropriate testing settings and provides a coverage report.) +(The test suite are run by running the ``./t`` script, which runs the tests with the appropriate testing settings and provides a coverage report.) Integration tests are run via the following command:: - manage.py test -v 2 -p integration_test*.py --settings=happinesspackets.settings.tsting + docker-compose exec web ./manage.py test -v 2 -p integration_test*.py --settings=happinesspackets.settings.tsting +If a ``file not found`` error occurs, try removing the ``./`` from the command and try again.