BYU-Broadcast/ScreenSharing

[ScreenSharing] Black-box Testing vs White-box Testing > Make it Functional

brightlightkim 2022. 4. 22. 07:19

For Every new ticket

 

git checkout -b [name of the branch]

- Make pull requests

- Make a new branch

 

See Commit History

 

Refactor to do it in a functional way.

  • Persisting state to the module 
  • Global Map

 

Instead of making state >> state relative to its state (Make them functional)

  • the entire object just depends on the input.
  • remove global variables
  • functional testings (Knows what's passed)
  • make them more generic with snapshot way
  • black-box testing

 

White-box testing vs Black-box testing

  • Black-Box 
    • Test >> don't know the internal structure
  • White-Box
    • Test >> know the internal structure