Reasons for testing
testing concepts
interface
- expected service of a system
failures
- deviation from expected system behaviour
defects
- causes failure of system
slips
- actions by programmers that introduces defects
scales of test
test terminologies
test case
- set of actions to be performed on software with an expected outcome
test
- execution of a test case
testing
- practice of creating, maintaining, evaluating test cases
defects testing
goal
- discover defects to be rectified
derived from
- architecture and design documents
acceptance testing
goals
- demonstrate system meets requirements
derived from
- requirement specification
behavioural driven development
derive test cases from a collection of user stories and scenarios
user story
scenario
steps
step functions
API
implementation
mapping steps in test case
scenario
GIVEN –> how to setup test
WHEN –> actions to take during test
THEN –> assertions to be made and output at the end of the test
Good practices for BDD
limitation of BDD
smoke test (Define)
A smoke test is a quick automated test to make sure that there arent’t any visable signs of problems with the system.
What is a pull request (Define)
A pull request – also referred to as a merge request – is an event that takes place in software development when a contributor/developer is ready to begin the process of merging new code changes with the main project repository.
When do developers merge code?
When do developers merge code?
Development and testing is done in 4 servers.
In what order does the work flow through them?
What is an (system) integration test, and a unit test?
An integration test is a test that including a function that will run all the way to the database and back so make sure all of the components are functioning together. A unit test is a test that tests business logic. It is done by the developers. It is best practice but not always done.