当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: he Python language has a few cha
 

 

    摘要:ont you hate it when you are debugging your code within eclipse, and while stepping into a method call, a class file editor pops up exclaiming "source not found"? wouldnt you rather see the java sourc......
 ·linux security basics @ jdj    »显示摘要«
    摘要:there seem to be two kinds of people in the world: those who think computer security is fun and exciting, and those who think it is arcane and scary. professional system administrators who read their ......


Write Eclipse JUnit Tests in Jython
he python language has a few characteristics that make it great for unit testing: it integrates very well with the platform it runs on, so you can write tests that will run on every platform. for example, jython integrates python and java; the win32 extension fully integrates python into com objects, and so on. for large organizations, this flexibility in a single language saves a lot of time. python now has several testing paradigms and some great tools to perform the tests. to my mind, the most effective is to put the tests inside code comments ("doctests"), but this article focuses on another one: unittest, which is very close to junit from the java space. python is quite straightforward because of dynamic typing (variables accept any type) and natural introspection. coding in python requires very few lines of code, and you dont need to catch any
...   下一页
    摘要:(linuxworld) -- the gpld business accounting package nola that we have been working with is a project under development. in part 15 of our series, we set up a nola web server using red hat 7.2, and no......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE