Software testing: unit, integration, system testing
Software Engineering · Engineering
Study notes
Test a login function: unit test checks valid credentials return true, wrong password returns false, empty input raises error. Integration test checks login plus database together. System test drives the whole app: enter credentials in the UI, verify dashboard loads. A pyramid: many unit, fewer integration, few system tests.