google / startup-os

Working examples of Google's Open Source stack and deployment to the cloud.
Apache License 2.0
673 stars 101 forks source link

Reviewer webapp - unit tests #567

Closed webdevelopland closed 5 years ago

webdevelopland commented 5 years ago

Services tests are simplest ones. They just test that service methods do, what they are supposed to do, by sending a mock data and comparing returning data with expected data.

Components tests work similar, but there's elements content is compared instead.