新增: - backend/venv/ - Python 虚拟环境 - backend/start.sh - 启动脚本(使用虚拟环境) - backend/requirements.txt - 依赖列表 - .gitignore - 忽略虚拟环境和缓存文件 说明: - 每个项目使用独立虚拟环境 - 避免依赖冲突 - 启动脚本自动创建和激活虚拟环境
25 lines
625 B
HTML
25 lines
625 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>tryer unit tests</title>
|
|
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
<script src="../node_modules/chai/chai.js"></script>
|
|
<script src="../node_modules/spooks/src/spooks.min.js"></script>
|
|
<script src="../node_modules/mocha/mocha.js"></script>
|
|
<script>
|
|
mocha.setup('tdd');
|
|
</script>
|
|
<script src="../lib/tryer.min.js"></script>
|
|
<script src="unit.js"></script>
|
|
<script>
|
|
mocha.checkLeaks();
|
|
mocha.run();
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|