Skip to main content

Syntax Testing in Software Testing with Example


Syntax Testing in Software Testing means it is widely used software testing term. It is done in White Box Testing by using some tools or by manually depending on the nature of the project. As you know Syntax Testing is used in White Box Testing so it is obviously done by developers.

Not in all the situations it can be done by developers, it can also be done by the testers if they are skilled testers mean white box testers.

As developers are doing this testing Therefore the developers should be responsible for running a syntax check before releasing their code to QA team.

In this testing, we test the syntax of the programming languages. As syntax of the every programming languages is almost different so criteria for doing Syntax Testing is also different on these programming languages.

Syntax Testing in Software Testing Example – php language

Below is given the example of Syntax Testing which clears what is syntax testing? And what things we have to check in this testing is also given below.

For example we are doing the Syntax Testing of php language than here we check whether the syntax is proper or not by checking the starting and ending tag syntax of php language. As you know starting tag of php is <?php and ending tag is ?> so in this case we check whether the starting tag (<?php) is OK or not and we also check whether the ending tag (?>) is also OK or not.

So this is the Syntax Testing of php language has done by developers and testers. And in the same way we can test the Syntax of Asp language also which is given below.

Syntax Testing Example – Asp language

In the above example you can see the Syntax Testing of php language now we move towards Asp means how to test the Syntax of the Asp language.

As you know Starting tag of Asp is <? and ending tag of Asp is ?> so here we can test whether the starting and ending tag Syntax of Asp is OK or not. So this is the Syntax Testing done by us on Asp language.

Note

Please note that Syntax of various languages are different so testing may vary accordingly to programming languages we used. And generally in this testing, we test whether the syntax is Ok or not like ?,.>< and so on, means all this syntax are in appropriate place or not. And according to me, Syntax Testing is usually done by the development team.

Conclusion

At last we conclude that this is all I know Syntax Testing in Software Testing with example, and if you know more than you can discuss with me in the below comments section. You can also give your suggestions for improving the post also.

Comments

Popular posts from this blog

Difference Between Verification And Validation With Example?

Verification and Validation example is also given just below to this table.                Verification               Validation 1. Verification is a static practice of verifying documents, design, code and program. 1. Validation is a dynamic mechanism of validating and testing the actual product. 2. It does not involve executing the code. 2. It always involves executing the code. 3. It is human based checking of documents and files. 3. It is computer based execution of program. 4.  Verification uses methods like inspections, reviews, walkthroughs, and Desk-checking etc. 4.  Validation uses methods like black box (functional)  testing, gray box testing, and white box (structural) testing etc. 5.  Verification  is to check whether the softwar...

Endurance Testing with Example, Meaning and Definition

Endurance Testing is a type of Performance Testing which is usually used to determine how much a system can sustain the continuous expected load. During the period of Endurance Testing memory utilization is always monitored to detect any potential leaks. In short we can say that judging/studying the memory leak of a server under the period of stability is known as Endurance Testing . Due to its judgment and study on memory leak that is the reason why Endurance Testing is also known by the name Soak Testing . As you know in Endurance Testing memory utilization is monitored so it very important for us to know about memory leak means what it is all about. When memory allocated to objects are not being freed by the system/application than definitely the memory leak occurs. Endurance Testing Example – Real Time Below is given the real time example of Endurance Testing and hope after seen these real time example your knowledge on Endurance Testing should definitely b...

What Is Functional Testing Explain It with Example?

Functional testing means testing the application against business requirements. Functional testing is executed using the functional specifications given by the client or by the design specifications according to use cases given by the design team. Role of functional testing is to validating the behavior of an application. Functional testing is more important because it always verifies that your system is fixed for release. The functional tests define your working system in a useful manner. In functional testing tester has to validate the application to see that all specified requirements of the client whatever we have said in SRS or BRS have been incorporated or not. Functional testing  is always concentrating on customer requirements and whereas the Non-Functional testing is always concentrating on customer expectations. Functional and Non Functional Test Cases Functional test cases target business goals and non functional test cases target performance, resource...