codeception dataProvider 的 Junit 5 模拟?
Junit 5 analog of a codeception dataProvider?
Codeception框架有dataProvider
or examples
等工具
为具体测试用例提供数据数组。
Junit-5 有这样的东西吗?
我阅读了文档并找到了 dynamic tests
但这不是我需要的。 Parametrized classes
是 Junit-4 的一部分,而不是 Junit 5。
尚不存在此类内容,但创建此类扩展的先决条件正在开发中。
JUnit 5's extension model allows third party libraries to interact with JUnit via extension points and one that allows the generation of test cases based on input data is going to exist in the next milestone (M4). It is likely that it will be the test template extension point proposed in PR #642.
Codeception框架有dataProvider
or examples
等工具
为具体测试用例提供数据数组。
Junit-5 有这样的东西吗?
我阅读了文档并找到了 dynamic tests
但这不是我需要的。 Parametrized classes
是 Junit-4 的一部分,而不是 Junit 5。
尚不存在此类内容,但创建此类扩展的先决条件正在开发中。
JUnit 5's extension model allows third party libraries to interact with JUnit via extension points and one that allows the generation of test cases based on input data is going to exist in the next milestone (M4). It is likely that it will be the test template extension point proposed in PR #642.