How do you make sure that your code is both safe and fast?

Asked 28-Feb-2018
Viewed 3197 times

1 Answer


0

We should adopt this policy to make our code good and secure - "Less coding and more features" 

For this, modern technology has given us many new features like - MicroServices, OOPs, WebServices, APIs, DLLs, CDNs, Encryption, and decryption, etc. Using which we can create a clean, safe, and fast running code.
And Other...is Testing.
It works to let us know whether our written code is safe and fast. For this, we need to go through several stages of testing.
Like -
1. Unit Testing
2. Integration Testing
3. Regression Testing
4. Smoke Testing
5. Alpha Testing
6. Beta Testing
7. System Testing
8. Stress Testing
9. Performance Testing


(a)
Black Box testing : -

The is used for validation. In this, we ignore the internal working mechanism and  Focused on what is the output? 

(b) White Box testing : -

The is used for verification. Into this, we focus on the internal mechanisms i.e. How the output is achieved? 

Where the testing is a process of executing a program with the aim of finding the error. To make sure that our software performs well and it should be also error-free. Although, The testing is done successfully and it will help remove all the errors from the software.