From fd63c1b1fce3519310651dbdd328e04fc217b0fe Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sat, 13 Aug 2022 23:07:31 +0400 Subject: [PATCH] Add testing content --- .../107-python/content/100-python-basics/readme.md | 1 + .../content/107-python-testing/100-unittest-pyunit.md | 9 ++++++++- .../content/107-python-testing/101-pytest.md | 10 +++++++++- .../content/107-python-testing/102-doctest.md | 8 +++++++- .../107-python/content/107-python-testing/102-nose.md | 10 +++++++++- .../107-python/content/107-python-testing/readme.md | 8 +++++++- 6 files changed, 41 insertions(+), 5 deletions(-) diff --git a/content/roadmaps/107-python/content/100-python-basics/readme.md b/content/roadmaps/107-python/content/100-python-basics/readme.md index 0a2f8d7af..1dfc7744a 100644 --- a/content/roadmaps/107-python/content/100-python-basics/readme.md +++ b/content/roadmaps/107-python/content/100-python-basics/readme.md @@ -4,6 +4,7 @@ Python is a high-level, interpreted, general-purpose programming language. Its d Free Content Official Website: Python +Tutorial Series: How to Code in Python Python Wikipedia diff --git a/content/roadmaps/107-python/content/107-python-testing/100-unittest-pyunit.md b/content/roadmaps/107-python/content/107-python-testing/100-unittest-pyunit.md index bca3697e1..1bfae1980 100644 --- a/content/roadmaps/107-python/content/107-python-testing/100-unittest-pyunit.md +++ b/content/roadmaps/107-python/content/107-python-testing/100-unittest-pyunit.md @@ -1 +1,8 @@ -# Unittest pyunit \ No newline at end of file +# PyUnit / Unittest + +PyUnit is an easy way to create unit testing programs and UnitTests with Python. (Note that docs.python.org uses the name "unittest", which is also the module name.) + +Free Content +How To Use unittest to Write a Test Case for a Function in Python +PyUnit Docs +A Gentle Introduction to Unit Testing in Python diff --git a/content/roadmaps/107-python/content/107-python-testing/101-pytest.md b/content/roadmaps/107-python/content/107-python-testing/101-pytest.md index 783ec1691..c5b3fbd22 100644 --- a/content/roadmaps/107-python/content/107-python-testing/101-pytest.md +++ b/content/roadmaps/107-python/content/107-python-testing/101-pytest.md @@ -1 +1,9 @@ -# Pytest \ No newline at end of file +# pytest + +pytest is a mature full-featured Python testing tool that helps you write better programs. + +Free Content +Official Docs +Pytest Tutorial + + diff --git a/content/roadmaps/107-python/content/107-python-testing/102-doctest.md b/content/roadmaps/107-python/content/107-python-testing/102-doctest.md index ad957dc55..53ec4caf3 100644 --- a/content/roadmaps/107-python/content/107-python-testing/102-doctest.md +++ b/content/roadmaps/107-python/content/107-python-testing/102-doctest.md @@ -1 +1,7 @@ -# Doctest \ No newline at end of file +# Doctest + +Python’s standard library comes equipped with a test framework module called doctest. The doctest module programmatically searches Python code for pieces of text within comments that look like interactive Python sessions. Then, the module executes those sessions to confirm that the code referenced by a doctest runs as expected. + +Free Content +Doctest module reference +How To Write Doctests in Python diff --git a/content/roadmaps/107-python/content/107-python-testing/102-nose.md b/content/roadmaps/107-python/content/107-python-testing/102-nose.md index 5b9900336..7ec7dea26 100644 --- a/content/roadmaps/107-python/content/107-python-testing/102-nose.md +++ b/content/roadmaps/107-python/content/107-python-testing/102-nose.md @@ -1 +1,9 @@ -# Nose \ No newline at end of file +# Nose + +Nose is another opensource testing framework that extends `unittest` to provide a more flexible testing framework. + +Free Content +Introduction to Nose +Getting Started With Nose In Python + + diff --git a/content/roadmaps/107-python/content/107-python-testing/readme.md b/content/roadmaps/107-python/content/107-python-testing/readme.md index af179c2dd..1a310f6c0 100644 --- a/content/roadmaps/107-python/content/107-python-testing/readme.md +++ b/content/roadmaps/107-python/content/107-python-testing/readme.md @@ -1 +1,7 @@ -# Python testing \ No newline at end of file +# Testing + +A key to building software that meets requirements without defects is testing. Software testing helps developers know they are building the right software. When tests are run as part of the development process (often with continuous integration tools), they build confidence and prevent regressions in the code. + +Free Content +What is Software Testing? +Testing Pyramid