@djangoproject · Post #185 · 05.10.2016 г., 03:03
http://www.aparat.com/v/WC7R4 Introduction to #pytest #unittest
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #9 · 7 јан.
Иногда бывает ситуация когда dev-сервер по какой-либо причине не закрылся и висит в процессах, занимая порт. Это может быть из-за падения IDE или просто сам забыл погасить и закрыл терминал. Для таких случаев я набросал простую функцию с командой: kill_on_port() { port=$(lsof -t -i:$1) echo "KILL PROCESS:" $port sudo kill -9 $port } alias killonport="kill_on_port $@" Код поместить в ~/.bashrc и рестартнуть систему. Если во время старта dev-сервера получаете ошибку что порт уже занят, просто выполните команду, подставив свой порт. Bash kill_on_port 8000 Скорее всего бесполезно, если другой процесс назначен на перезапуск вашего dev-сервера в случае падения. Имя команды можете изменить на любое другое. #linux
Hashtags
Пребарај: #unittest
@djangoproject · Post #185 · 05.10.2016 г., 03:03
http://www.aparat.com/v/WC7R4 Introduction to #pytest #unittest
@mdcuzbekistan · Post #324 · 23.01.2022 г., 08:14
Dasturni testlash jarayonlari, xUnit bilan amaliyot Bugungi stream ham nasib qilsa ajoyib o'tadi. Sababi, navbatdagi mehmonimiz siz tanigan, bilgan tajribali dasturchilar sirasiga kiradi. Eng qizig'i, suxbat davomida ko'tariladigan mavzu ko'pchilikni qiynashga ulgurgan. Ushbu qiyinchiliklarni ustozimiz bilan birga yengillashtiramiz. Xullas, streamda ko'rishguncha! 🔗 Havola: zoom 👨🏫 Mentor:Wahid Abduhakimov #unittest#mentoring#live#stream .NET Uzbekistan Community ______ Telegram | Instagram | Youtube
Hashtags
@djangoproject · Post #179 · 30.09.2016 г., 07:46
https://pypi.python.org/pypi/MutPy/0.4.0 #MutPy is a mutation #testing tool for Python 3.x source code. MutPy supports standard #unittest module, generates YAML reports and has colorful output. It’s apply mutation on AST level. You could boost your mutation testing process with high order mutations (HOM) and code coverage analysis.
@djangoproject · Post #583 · 17.03.2018 г., 05:46
https://www.pluralsight.com/courses/unit-testing-python This course will help you to write good #unit_test for your Python code, using tools such as #unittest, #doctest and py.test. Unit tests should improve code quality, and also support future development. #test
Hashtags
@djangoproject · Post #178 · 30.09.2016 г., 07:22
#Hypothesis is a Python library for creating #unit_tests which are simpler to write and more powerful when run, finding edge cases in your code you wouldn’t have thought to look for. It is stable, powerful and easy to add to any existing #test suite. #unittest https://hypothesis.readthedocs.io/en/latest/