#74 Unit Testing -> Test Tiers and their test

open
None
2021-04-02
2020-10-12
i-campbell
No

Testing

Testing shall by done by means of automated testing and hand sampling.

Test-Tier 1: user point of view (pov) tests

The highest tier focusses mainly on usage scenario's from a user point of view.
Goal is to automate scenario's and verify them. We automate normal user programmed behaviour like login, send messages and test the correctness of security (TLS etc) via scenario's and verify if the scenario's "works" as expected.

Test-Tier 2: integration tests

This tier focusses on the FB's internals (aka integration tests) and mainly on the "glue logic". Tests on this tier are focussed on the outside of various composite FB's.

Test-Tier 3: unit tests

This test tier focusses on the methods/functions on the lowest level of the library.

Related

Tickets: #11

Discussion

  • h-hermsen

    h-hermsen - 2021-04-02
    • summary: 90% of FBs/Methods/Functions will need a Unit Test --> Unit Testing -> Test Tiers and their test
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,9 @@
    -Unit test will be written to cover 90% of the FB's functions and methods from the library using Cfunit v1.1.0.0 or better.
    -The unittest project in the trunk is to be leading. Any other tests can be written in branches to test personal developments.
    -As the trunk of the library gets updated, ideally the unittest project of the trunk gets updated too.
    +# Test-Tier 1: user point of view (pov) tests
    +The highest tier focusses mainly on usage scenario's from a user point of view.
    +Goal is to automate scenario's and verify them. We automate normal user programmed behaviour like login, send messages and test the correctness of security (TLS etc) via scenario's and verify if the scenario's "works" as expected.
    
    -The software will be unit tested and/or integration tested, as much as possible.
    +# Test-Tier 2: integration tests
    +This tier focusses on the FB's internals (aka integration tests) and mainly on the "glue logic". Tests on this tier are focussed on the outside of various composite FB's.
    
    -**My suggestion is that we all take a peek at the unit test code whenever we feel like it to ensure that it passes a basic sanity level**
    +# Test-Tier 3: unit tests
    +This test tier focusses on the methods/functions on the lowest level of the library.
    
     
  • h-hermsen

    h-hermsen - 2021-04-02
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,6 @@
    +# Testing 
    +Testing shall by done by means of automated testing and hand sampling.
    +
     # Test-Tier 1: user point of view (pov) tests
     The highest tier focusses mainly on usage scenario's from a user point of view.
     Goal is to automate scenario's and verify them. We automate normal user programmed behaviour like login, send messages and test the correctness of security (TLS etc) via scenario's and verify if the scenario's "works" as expected.
    
     

Log in to post a comment.