[RobotFramework] 自動化測試框架Robotframework最強大的IDE:RIDE目前已經正式支持Python3.0!


RobotFramework自動化測試框架作為當今使用最多的框架,他的IDE:RIDE一直沒有推出穩定的支持python3.0的版本。

筆者目前在github上發現,這款IDE目前推出了支持python3.0的穩定release:1.7.3.1

下面我們來看release note,在這里筆者做一個翻譯 https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-1.7.3.1.rst

The most notable enhancements are:

  • Compatible with Python 2.7 and >=3.6(完美支持python3.0
  • Runs with "any" wxPython version (2.8.12.1, 3.0.2 on Python 2.7) and 4.0.4 for both Python 2.7 and >=3.6(完美支持基於python2.0和3.0的wxPython
  • Runner can select new or old versions of Robot Framework (pybot` vs ``robot)(可以在runner選擇pybot和robot)
  • Panes, Tabs, Toolbar are detachable and re-positionable thanks to wxPython's AUI module(可以任意調整框架各個圖標按鈕的位置)
  • Text Editor now have a autocomplete feature(支持自動補全!
  • Test cases on tree pane, have the new official icon, and is animated when running or paused(測試用例有了新的圖標和在執行時有了新的動畫效果)
  • Long test names on tree pane, have name shortened by ... and name visible on tool-tip(較長的測試名字會被...截斷)
  • On tree pane at test suite level, context menu allows to open folder in file manager, and to remove the Read-Only file attribute(較長的測試名字會被...截斷)
  • If no tests are selected there will be a confirmation to proceed with running all tests(如果沒有選中任何的test,會有彈出提示框,點擊確認,會全部執行所有的case
  • Like F8 to run tests, now there is F9 to run them with log level DEBUG·      (添加了新的DEBUG level的執行)

     

  • The Grid Editor now have a JSON editor for a cell (it validates when saving)

由release note 我們驚喜的發現,RIDE版本已經完美支持python3.0了,並且新版RIDE還多了很多新功能。那么廢話不多說,我們來看看在python3.0下如何安裝:

我們仍然使用pip來進行安裝:

在windows上,cmd命令我們通過以下命令行:

python3.0:

pip install -U wxPython

pip install -U robotframework-ride

 

好啦,現在輸入ride.py 來使用全新的基於python3.0的IDE吧!

更多的RobotFramework 知識分享與討論請關注右側。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM