Testing

[TEST] Testing Principles

brightlightkim 2022. 3. 25. 05:52

There are two main principles of testing.

Deterministic Testing (A => B)

  • It expects only one result.
  • Input is expected.
  • We aim every function to be this testing that we want to apply the functional programming.
  • Examples: Math, Schema Validation

 

Undeterministic Testing (A => B || C || D || ...)

  • It expects different results since input cannot be expected.
  • Examples: Network, Time

 

E2E Testing (End to End Testing)

  • It test codes from beginning to the end.
  • For BYU-Broadcast, it tests codes that sit in AWS.

 

Integration Testing (Testing for Connections - flow)

  • It tests connection of the codes.
  • It connects HTTPS, Servers to our codes

 

Unit Testing (Testing for)

  • It tests for the individual codes.
  • For BYU-Broadcast, it tests out every AWS Lambda functions in the local machine.

 

What we aim for

  • Test every functions and validate them

'Testing' 카테고리의 다른 글

Postman Basic Usage for Authentication  (0) 2022.07.07