会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zwx901323
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
10
下一页
2022年9月8日
简单的博客登录注册页面
摘要: 一、项目的urls文件 from django.contrib import admin from django.urls import path,include from django.conf import settings from django.conf.urls.static import
阅读全文
posted @ 2022-09-08 22:17 zwx901323
阅读(299)
评论(0)
推荐(0)
2022年8月31日
目录解析
摘要: #django文档:https://docs.djangoproject.com/en/4.1/howto/static-files/
阅读全文
posted @ 2022-08-31 23:03 zwx901323
阅读(24)
评论(0)
推荐(0)
python创建虚拟环境
摘要: python -m venv env .\env\Scripts\activate
阅读全文
posted @ 2022-08-31 22:25 zwx901323
阅读(23)
评论(0)
推荐(0)
2022年8月29日
创建项目以及命令
摘要: 1. 创建django程序 终端命令:django-admin startproject sitename (在当前目录下创建一个Django程序) IDE创建Django程序时,本质上都是自动执行上述命令 其他常用命令: python manage.py runserver ip:port (启动
阅读全文
posted @ 2022-08-29 22:35 zwx901323
阅读(101)
评论(0)
推荐(0)
2022年8月21日
unittest框架与生成报告
摘要: 一、unittest与HTMLtestrunner生成带日志的测试报告 下载项目 https://github.com/huilansame/htmltestRunner_PY3 #gthub项目地址 项目解析说明 import unittest from HTMLTestRunner_PY3 im
阅读全文
posted @ 2022-08-21 17:07 zwx901323
阅读(55)
评论(0)
推荐(0)
2022年8月19日
开始第一个用例
摘要: 一、基础演示 import unittest class TestClass(unittest.TestCase): @classmethod def setUpClass(cls) -> None: print("类开始方法") @classmethod def tearDownClass(cls
阅读全文
posted @ 2022-08-19 08:40 zwx901323
阅读(30)
评论(0)
推荐(0)
unittest编写规范
摘要:
阅读全文
posted @ 2022-08-19 07:53 zwx901323
阅读(29)
评论(0)
推荐(0)
用例测试的覆盖方法
摘要: 一、语句覆盖:基础覆盖 二、判断覆盖: 三、条件覆盖:最常用的方法 四、路径覆盖:
阅读全文
posted @ 2022-08-19 07:51 zwx901323
阅读(80)
评论(0)
推荐(0)
各个测试框架的区别
摘要:
阅读全文
posted @ 2022-08-19 07:43 zwx901323
阅读(7)
评论(0)
推荐(0)
2022年8月14日
pytest.ini文件配置说明
摘要: https://www.cnblogs.com/Avicii2018/p/16391336.html 问题描述:写好test.py文件和pytest.ini文件后,报错:UnicodeDecodeError: 'gbk' codec can't decode byte 0xb0 1.选择pytest
阅读全文
posted @ 2022-08-14 12:38 zwx901323
阅读(63)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
10
下一页
公告