January 2019
Beginner
318 pages
8h 23m
English
Whenever we use unittest, there are some methods we use in our script. These methods are the following:
You can use the unittest module from the command line as well. So, you can run the previous test script as follows:
student@ubuntu:~$ python3 -m unittest test_addition.py...----------------------------------------------------------------------Ran 3 tests in 0.000s OK
Now, we will see another example. We will create ...
Read now
Unlock full access