Tuesday, March 24, 2020

cst438 software engineering w3


What does the acronym FIRST mean with regards to software testing?  In case you forgot, go back to chapter 8 in Saas.

FIRST stands for fast, independent, repeatable, self-checking, and timely. Good software tests should be quick and easy, not depend on other conditions, not depend on external factors, check itself, and created or updated when code is tested.

         In software testing, there are a few types of software tests like unit, integration/functional, performance, and behavior. According to https://www.vogella.com/tutorials/JUnit/article.html, unit tests test a small amount of code like a method or class. It’s dependence on other classes is removed by using mock objects. Integration tests are used to tests the whole system like when a user uses it. Performance tests make sure the tests are fast when used repeatedly. Behavior tests check if methods are called with the correct input using mocks and stubs.

No comments:

Post a Comment

cst 499 week 8

This week, we finished writing the paper in order to do the best job possible even if it was a little bit late. Now that everything is done,...