我必须通过为许多类创建虚拟对象来创建测试用例。例如,员工单位测试类,我必须创建部门,地址,作业等。在我选择或选择员工并选择生成对象时,可以生成所有这些对象的VS代码或Visual Studio。
就像此链接中的一个一样,它不再可用。
I have to create test cases by creating dummy object for the many classes. for example Employee unit test class, I have to create Department, Address, Job etc., Is there a VS code or Visual studio which can generate all these object when I select or choose employee and choose generate object.
like the one in this link, its no more available.
https://executecommands.com/top-7-must-have-visual-studio-2019-extensions/#4-object-exporter
发布评论
评论(1)
object dumper a foss 两个和“ nofollow noreferrer”> Visual Studio Code 。
它将对象导出到 c#, json , Visual Basic , xml 和 yaml 。
Object Dumper is a FOSS extension for both Visual Studio and Visual Studio Code.
It's exporting objects to C#, JSON, Visual Basic, XML, and YAML.