#74 Unit Testing -> Test Tiers and their test

open
hermsen
None
2021-08-12
2020-10-12
i-campbell
No

Testing

Testing shall by done by means of automated testing using at minimum co♻e v1.2.0.0 and hand sampling. Since lots of FB's contain state machines we need a proper burnerplate code template which saves us time.

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". Standard xUnit reporting shall be used.

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 glue logic of various composite FB's.

Test-Tier 3: unit tests

This test tier focusses on the methods/functions, in aouts and interfaces on the lowest level of the library

Related

Tickets: #11

Discussion

  • hermsen

    hermsen - 2021-08-12
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
     # Testing 
    -Testing shall by done by means of automated testing and hand sampling.
    +Testing shall by done by means of automated testing using at minimum counit v1.2.0.0 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.
    
     
  • hermsen

    hermsen - 2021-08-12
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,12 +1,12 @@
     # Testing 
    -Testing shall by done by means of automated testing using at minimum counit v1.2.0.0 and hand sampling.
    +Testing shall by done by means of automated testing using at minimum co♻e v1.2.0.0 and hand sampling. Since lots of FB's contain state machines we need a proper burnerplate code template which saves us time.
    
     # 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.
    +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". Standard xUnit reporting shall be used.
    
     # 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.
    +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 glue logic 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.
    +This test tier focusses on the methods/functions, in aouts and interfaces on the lowest level of the library
    
     

Log in to post a comment.