Exactly what is integration testing - compared with unit

前端 未结 5 1947
广开言路
广开言路 2021-02-01 14:18

I am starting to use unit testing in my projects, and am writing tests that are testing at the method/function level.

I understand this and it makes sense.

But,

5条回答
  •  执笔经年
    2021-02-01 15:00

    As far as I see the selenium tests should be in another test suite. Those tests are the most fragile test in nature even if you write them correctly. Here you can use Specflow or some other kind of specification by example framework. Perhaps you can call these tests as acceptance tests. These are for developers and business experts too. The integration, or module tests normally do not use UI. The integration tests exercise some classes which are working together. These are lower level tests than the selenium tests, and a bit easier to maintain. These tests are for developers only.

提交回复
热议问题