Skip to content

Instantly share code, notes, and snippets.

@halitbatur
Created January 29, 2024 12:08
Show Gist options
  • Save halitbatur/d2e551cc5aafdc1abeed1b22784be2f3 to your computer and use it in GitHub Desktop.
Save halitbatur/d2e551cc5aafdc1abeed1b22784be2f3 to your computer and use it in GitHub Desktop.
Testing Disucssion

Test types discussion

Please type your answers in the comment section below

  • What are the differences between manual and automated tests?
  • What are the differences between functional and non-functional tests?
  • Explain the main idea of the following test types:
    • Unit tests
    • Integration tests
    • End-to-end tests
    • Smoke tests
@mohmmadms
Copy link

Mohmmad smadi , Sanad Alshobaki , Hakimah Ismail , Nour kayyali.
Room 2

Q1: Manual testing is done in person, by clicking through the application or interacting with the software and APIs with the appropriate tooling.

Automated tests, on the other hand, are performed by a machine that executes a test script that has been written in advance. These tests can vary a lot in complexity, from checking a single function to making sure that performing a sequence of complex actions in the UI leads to the same results

Q2:
1-Purpose:
Functional tests ensure that software behaves according to specified requirements.
Non-functional tests evaluate attributes like performance, security, and usability.

2-Scope:
Functional tests focus on specific features and functionalities.
Non-functional tests address broader system qualities beyond individual functionalities.

3-Measurability:
Functional tests determine if software functions correctly (pass/fail).
Non-functional tests measure attributes against benchmarks or thresholds.

basically :
functional tests validate functionality, while non-functional tests assess system attributes and qualities. Both are integral to ensuring software quality and reliability.

Q3:

Unit Testing: to isolate written code to test and determine if it works as intended.

Integration tests verify that different modules or services used by your application work well together. These types of tests are more expensive to run as they require multiple parts of the application to be up and running.

End-to-end testing: replicates a user behavior in a complete application environment.

Smoke tests: smoke tests means verifying the important features are working and there are no showstoppers in the build that is under testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment