Monday, October 16, 2017

Linux Search Logs File Command


tail -f /var/log/messages [will display 10lines of a file]
tail -50 -f /var/log/messages [will display more than 10 lines]
less /var/log/messages [to search entire log]
less /keyword [to search specific keyword in log file]

grep 'word' filename
grep 'word' file1 file2 file3
grep 'string1 string2'  filename
grep passwordname /etc/passwd

Tags:
#linux, #search, #grep, #less, #tail, #grep

Reference: Click here

Sunday, October 15, 2017

Basic Command Line in Linux


mkdir [make directory]
rm -r diretoryname [remove directory]
mv directory1/sample.txt directory2/sample.txt [to move file in another directory]
cp directory1/sample.txt directory2/ [to copy file in another directory]
rm directory/sample.txt [to delete file in directory]

Create file
cat > sample.txt [to create content file]
type sample text file
another line text.
Ctrl+D [to exit file once done editing]
ls -l sample.txt [to verify edited file]
cat sample.txt [to view file content]
> sample.txt [to create blank content file]
touch sample.txt [to create blank content file]
vi sample.txt [to add text in the file]
Esc then :wq [close vi and save file]



#Tags
#linux, #linuxcommands, #basiclinux, #basiclinuxcommands, #unix

Thursday, October 12, 2017

Software Testing

Regression Testing 
Is a type of software testing which verifies that software which was previously developed and tested still performs the same way after it was changed or interfaced with other software. Changes may include software enhancements, patches, configuration changes.
Regression testing is the process of testing changes to computer programs to make sure that the older programming still works with the new changes. Regression testing is a normal part of the program development process and, in larger companies, is done by code testing specialists.

Integration testing 
(sometimes called integration and testing, abbreviated I&T) is the phase in software testing in which individual software modules are combined and tested as a group. It occurs after unit testing and before validation testing

Software Types of testing

  • Unit Testing
  • Integration Testing
  • Functional Testing
  • System Testing
  • Stress Testing
  • Performance Testing
  • Usability Testing
  • Acceptance Testing
  • Regression Testing
  • Beta Testing  

Agile 
Software development refers to a group of software development methodologies based on iterative development, where requirements and solutions evolve through collaboration between self-organizing cross-functional teams.

Waterfall 
Model is a linear sequential (non-iterative) design approach for software development, in which progress flows in one direction downwards (like a waterfall) through the phases of conception, initiation, analysis, design, construction, testing, deployment and maintenance

Software Test Plan 
Is a document describing the testing scope and activities. It is the basis for formally testing anysoftware/product in a project. ISTQB Definitiontest plan: A document describing the scope, approach, resources and schedule of intended test activities
test cases

Test case 
Is a set of conditions or variables under which a tester will determine whether a system under test satisfies requirements or works correctly. The process of developing test cases can also help find problems in the requirements or design of an application.
black/white box testing

Black box testing 
Is the Software testing method which is used to test the software without knowing the internal structure of code or program. 

White box testing 

Is the software testing method in which internal structure is being known to tester who is going to test the software

Software Application 6 Quality Characteristics.

  1. Functionality
  2. Reliability
  3. Usability
  4. Efficiency
  5. Maintainability
  6. Portability
Site Reference: Click Me!

Defect Log Severity Status
Critical
  • Defect results in termination of system or one or more component. The failed function is unusable and there is no acceptable alternative method.
  • Defect causes the business functions to be useless or vulnerable to high business risk
Major
  • Defect results in termination of the system or one or more component. The failed function is unusable but there exists an acceptable alternative method.
Moderate
  • Defect does not result in termination but causes the system to produce incorrect, incomplete or inconsistent results
  • Defect causes the business functions to be useless or vulnerable to high business risk
Critical
  • Defect results in termination of system or one or more component. The failed function is unusable and there is no acceptable alternative method.
  • Defect causes the business functions to be useless or vulnerable to high business risk
Tags:
QA, Software Testing, Quality Assurance 

10 Linux Commands

ls - show all of the major directories
cd - change directories
mv - move file to another directory
man - manuel of inputted commands
mkdir - make new directory
rmdir - remove directory
touch - make file
rm - delete created files
locate - to find a file (locate -i *red*house**city)
clear - to clear commands

Tags
#linux
#commands
#technology
#unix

Reference site: Click Me