Skip to content

Conversation

SAKURA-CAT
Copy link
Member

@SAKURA-CAT SAKURA-CAT commented May 28, 2024

Description

  • 完善环境变量部分的单元测试
  • 为单元测试编写一些hook,避免重复操作
  • 完善登录的单元测试

为了实现单元测试,新增两个环境变量SWANLAB_PACKAGE_PATHSWANLAB_HOME,前者设置swanlab包配置文件路径,后者设置.swanlab路径,都只有在开发模式生效

closes: #577

@SAKURA-CAT SAKURA-CAT requested a review from Zeyi-Lin May 28, 2024 09:10
@SAKURA-CAT SAKURA-CAT self-assigned this May 28, 2024
@SAKURA-CAT SAKURA-CAT added 🏠 advice advice to the project 🐛 bug Something isn't working and removed 🏠 advice advice to the project labels May 28, 2024
@SAKURA-CAT SAKURA-CAT marked this pull request as ready for review May 28, 2024 09:11
@SAKURA-CAT SAKURA-CAT merged commit 26a24a1 into main May 28, 2024
@SAKURA-CAT SAKURA-CAT deleted the fix/test branch May 28, 2024 09:15
@SAKURA-CAT SAKURA-CAT restored the fix/test branch May 28, 2024 09:15
@SAKURA-CAT SAKURA-CAT deleted the fix/test branch May 28, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ADVICE] 单元测试-swanlab login

2 participants