Automated test tools for Linux/ncurses

后端 未结 4 901
忘掉有多难
忘掉有多难 2020-12-16 15:52

I\'ve picked up a legacy application developed in C/C++ on Linux, using ncurses for UI. What automated testing tools are there for this environment?

Edit:

4条回答
  •  轮回少年
    2020-12-16 16:44

    I have considered using Rational Function Tester and TestComplete.

    RFT has explicit support for testing this type of application (text-mode linux) via built-in terminal emulation.

    TestComplete does not support testing Linux apps directly, but can be made to work by "testing" a COM-enabled terminal emulation program (Attachmate Reflection at this stage), and using COM from the test scripts to do screen scraping.

    Have also considered using Reflection as the terminal emulator and rolling my own test framework in C# and NUnit.

    Edit: "Final" solution is using Terminator (a Java terminal emulator), extending it with an RMI interface and using TestNG...

提交回复
热议问题