简体   繁体   English

我需要哪种设置(IDE等)才能运行C#.NET开发的程序集的IronPython单元测试?

[英]What kind of setup (IDE et al) do I need to run IronPython unit tests of C#.NET developed assemblies?

I'm attempting to learn IronPython, to broaden my .NET horizons. 我正在尝试学习IronPython,以拓宽.NET的视野。 I want to be able to use Python to write the unit-tests for my next personal project. 我希望能够使用Python编写下一个个人项目的单元测试。 So being able to access C#.NET assemblies from my Python code is necessary. 因此,必须能够从我的Python代码访问C#.NET程序集。 I also wanted an IDE with auto-complete and smart indenting. 我还想要一个具有自动完成和智能缩进功能的IDE。 PyScripter seemed like a good option, but can I run IronPython from it, and can I link to .NET assemblies from it? PyScripter似乎是一个不错的选择,但是我可以从中运行IronPython,也可以从中链接到.NET程序集吗?

What kind of setup (IDE et al) do I need to run IronPython unit tests of C#.NET developed assemblies? 我需要哪种设置(IDE等)才能运行C#.NET开发的程序集的IronPython单元测试?

这是有关不同IDE及其如何与IronPython一起工作的文章的很好链接: http : //www.voidspace.org.uk/ironpython/tools-and-ides.shtml

See Michael Foord's website for IDE and unittest also discover. 有关IDEunittest的信息请参见Michael Foord的网站。 And many IronPython articles and the book IronPython in Action and his tweets save you having to hunt for IronPython references 而且许多IronPython文章以及《 IronPython in Action》一书及其推文使您不必去寻找IronPython参考。

FWIW, Frood himself uses Wing IDE. FWIW,Frood本人使用Wing IDE。

But, if its on Windows, why not VS? 但是,如果它在Windows上,为什么不使用VS?

您也可以考虑将Eclipse与PyDev结合使用,该支持PyDev

You can use Visual Studio. 您可以使用Visual Studio。 I use IronPython Studio integrated with VS2008. 我使用与VS2008集成的IronPython Studio。 But I feel that it has very poor intellisense for Python. 但是我觉得它对Python的理解力很差。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM