0

I want to test all the feature in my web site just like regression test, which is used to guarantee new code do not make other feature crash.

The test i need is just like this:

  1. Login the website with a normal user account to check if the login works well.
  2. Signup a new normal user to see if the signup feature works well.
  3. Login and go to some page to see there is no error or warning showing on the page.
  4. Login the website with an admin account to see if all the admin page works well.

Here is some tools I have found something like what i need.

  1. phantomjs casperjs: headless webkit which can do website navigation and run javascript
  2. robot framework : it looks like a frameworks for test but i have no idear right now.
  3. selenium : I have tried the firefox plugin, it is nice.

And i have seen that some people recommand the vs2010 for test but my team dont use vs...we use emacs, vim so i dont think it is a good choice.

Most importantly, how can i integration these test frameworks with the unittest in my projects? I have no idea on how to choose one to make them together.

Thanks in advance.

4

1 回答 1

0

RobotFramework 更像是一个脚本框架,如果我可以这样称呼它的话。它提供了一个运行器/执行器,它将使用通过您的测试运行的现有自动化库(或您的)。与硒一起使用。

Selenium 还允许进行无头浏览器测试:

您还可以使用 Jenkins/Hudson 或类似的持续集成软件来运行不同的“批次”测试——单元、系统、集成、回归等。

于 2012-09-11T10:20:49.243 回答