Course: Python Unit Testing

$179.00
$216.59 incl. vat

duration: 6 hours |

Language: English (US) |

access duration: 90 days |

Details

The unit-test framework (also known as PyUnit) is modeled on JUnit and simplifies the automation of tests for Python applications. You will learn to use the unit-test framework to define tests for your application source code to ensure that it behaves in a specified manner. You will write a sample test, and then expand the test scripts to include multiple tests. You will explore the unit-test framework, the pytest, and the doctest, and how to use them to automate the testing of all the functions in Python applications. You will learn how to bundle common operations for multiple tests into a special function or fixture, which make test scripts easier to view and maintain. Next, you will learn how to define and run tests, and how to streamline tests by using fixtures. You will learn the important features of the pytest framework to create small test units, and to define and run individual tests. You will also explore the execution and skipping of specific tests in scripts, then learn to simplify tests by using parameterization. Finally, you will examine the bundling of documentation and tests into a single executable file.

Result

After completing this course, you are ready to make optimal use of the Python unit-test framework.

Prerequisites

You should have experience in Python programming and the use of the Linux Shell.

Target audience

Software Developer, Web Developer

Content

Python Unit Testing

6 hours

Python Unit Testing: An Introduction to Python's unittest Framework

The unittest framework (also known as PyUnit) is modeled on JUnit and simplifies the automation of tests for your Python applications. Discover the basic features of unittest such as the definition and execution of test cases and the selection of specific tests for an execution.

Python Unit Testing: Advanced Python Testing Using the unittest Framework

Discover some of the more advanced features of the Python unittest framework such as the use of fixture functions for common operations across tests, the definition and execution of test suites, and the simplification of writing test scripts using the PyCharm IDE.

Python Unit Testing: Testing Python Code Using pytest

The pytest module simplifies the definition and execution of unit tests and functional tests for Python code. Discover basic unit testing using asserts as well as the streamlining of tests using fixtures.

Python Unit Testing: Testing Python Code Using doctest

Python Unit Testing: Testing Python Code Using doctest

Course options

We offer several optional training products to enhance your learning experience. If you are planning to use our training course in preperation for an official exam then whe highly recommend using these optional training products to ensure an optimal learning experience. Sometimes there is only a practice exam or/and practice lab available.

Optional practice exam (trial exam)

To supplement this training course you may add a special practice exam. This practice exam comprises a number of trial exams which are very similar to the real exam, both in terms of form and content. This is the ultimate way to test whether you are ready for the exam. 

Optional practice lab

To supplement this training course you may add a special practice lab. You perform the tasks on real hardware and/or software applicable to your Lab. The labs are fully hosted in our cloud. The only thing you need to use our practice labs is a web browser. In the LiveLab environment you will find exercises which you can start immediatelyThe lab enviromentconsist of complete networks containing for example, clients, servers,etc. This is the ultimate way to gain extensive hands-on experience. 

WHY_ICTTRAININGEN

Via ons opleidingsconcept bespaar je tot 80% op trainingen

Start met leren wanneer je wilt. Je bepaalt zelf het gewenste tempo

Spar met medecursisten en profileer je als autoriteit in je vakgebied.

Ontvang na succesvolle afronding van je cursus het officiële certificaat van deelname van Icttrainingen.nl

Krijg inzicht in uitgebreide voortgangsinformatie van jezelf of je medewerkers

Kennis opdoen met interactieve e-learning en uitgebreide praktijkopdrachten door gecertificeerde docenten

Orderproces

Once we have processed your order and payment, we will give you access to your courses. If you still have any questions about our ordering process, please refer to the button below.

read more about the order process

What is included?

Certificate of participation Yes
Monitor Progress Yes
Award Winning E-learning Yes
Mobile ready Yes
Sharing knowledge Unlimited access to our IT professionals community
Study advice Our consultants are here for you to advice about your study career and options
Study materials Certified teachers with in depth knowledge about the subject.
Service World's best service

Platform

Na bestelling van je training krijg je toegang tot ons innovatieve leerplatform. Hier vind je al je gekochte (of gevolgde) trainingen, kan je eventueel cursisten aanmaken en krijg je toegang tot uitgebreide voortgangsinformatie.

Life Long Learning

Follow multiple courses? Read more about our Life Long Learning concept

read more

Contact us

Need training advise? Contact us!


contact