July 2019
Beginner to intermediate
302 pages
9h 38m
English
To run the test file, just execute the following command in the terminal:
$ python app_tests.py -v
test_create_category (__main__.CatalogTestCase)
Test creation of new category ... ok
test_create_product (__main__.CatalogTestCase)
Test creation of new product ... ok
test_home (__main__.CatalogTestCase)
Test home page ... ok
test_products (__main__.CatalogTestCase)
Test Products list page ... ok
test_search_product (__main__.CatalogTestCase)
Test searching product ... ok
---------------------------------------------------------------------
Ran 5 tests in 0.189s
OK
What follows the command is the output that signifies the outcome of the tests.