Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用例树比较深被禁用了 #127

Open
InnSea opened this issue Dec 22, 2023 · 6 comments
Open

用例树比较深被禁用了 #127

InnSea opened this issue Dec 22, 2023 · 6 comments

Comments

@InnSea
Copy link

InnSea commented Dec 22, 2023

image
为什么这里层级比较深的目录不能选呀?

@wuranxu
Copy link
Owner

wuranxu commented Jan 3, 2024

应该是有一些逻辑限制

@InnSea
Copy link
Author

InnSea commented Feb 28, 2024

image 应该是这里的递归调用漏了case_map参数

@InnSea
Copy link
Author

InnSea commented Feb 28, 2024

好像也不是这个原因- -,加上之后会有重复数据。。能帮忙看看这里的具体逻辑吗?

打了断点看了下,在递归过程中case_node会出现为None的情况,这样直接就把child置为[],而不会去查这个id对应的测试用例了。复现步骤很简单,建三级目录,在三级目录下放一个用例就可以了

@wuranxu
Copy link
Owner

wuranxu commented Feb 28, 2024

看起来是这个目录下面没有用例或者是不让移动到当前目录导致的。

@InnSea
Copy link
Author

InnSea commented Feb 28, 2024

这个目录下面实际是有用例的呢

@InnSea
Copy link
Author

InnSea commented Feb 29, 2024

image
这里感觉还是不太对吧,如果不传case_map的话,第二次递归调用的时候caes_node肯定会变成None了呀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants