Results 1 to 15 of 15

Thread: Syntax Testing and LCSAJ Testing

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Feb 2007
    Answers
    3

    Cool Syntax Testing and LCSAJ Testing

    Hi All,

    Please suggest me
    1) whether the Syntax Testing is White box testing or Black box testing.
    2) Also, what is LCSAJ testing.

    Regards
    --Ashish


  2. #2
    Expert Member
    Join Date
    Jan 2007
    Answers
    141

    Re: Syntax Testing and LCSAJ Testing

    1) Syntax teting is power software testing technique for testing command driven softeware and similar application.


    2) LCSAJ menas A Linear Code Sequence And Jump, consisting of the following three items (conventionally identified by line numbers in a source code listing): the start of the linear sequence of executable statements, the end of the linear sequence, and the target line to which control flow is transferred at the end of the linear sequence.

    LCSAJ testing is a test case design technique for a component in which test cases are designed to execute LCSAJs.

    An LCSAJ is defined as unbroken linear sequence of statements: (a) which begins at either the start of the program or a point to which the control flow may jump, (b) which ends at either the end of the program or a point from which the control flow may jump, (c) and the point to which a jump is made following the sequence.

    LCSAJ coverage = I/L where: I = Number of LCSAJs exercised at least once. L = Total number of LCSAJs.

    LCSAJs depends on the topology of a module's design and not just its semantics, they do not map onto code structures such as branches and loops. LCSAJs are not easily identifiable from design documentation. They can only be identified once code has already been written. LCSAJs are consequently not easily comprehensible.

    Regards,
    Sridevichitthu


  3. #3
    Junior Member
    Join Date
    Feb 2007
    Answers
    3

    Re: Syntax Testing and LCSAJ Testing

    Hi Sridevi,

    Thanks for the answers given by u.
    Now, its clear that LCSAJ Testing is white box testing. But I have a doubt regarding the Syntax testing, its difficult to infer whether ir is black box testing or the white box.
    Please suggest.

    Regards
    Ashish Arora


  4. #4
    Junior Member
    Join Date
    Jan 2007
    Answers
    11

    Re: Syntax Testing and LCSAJ Testing

    Hi ashish,
    syntax testing is blackbox testing.
    Uses the syntax of the components inputs as the basis for the design of the testcase.


  5. #5
    Expert Member
    Join Date
    Jan 2007
    Answers
    141

    Re: Syntax Testing and LCSAJ Testing

    Hi hiashish12,

    I read from on eof the link about Syntax testing ,Hope this would clarify your doubts

    Syntax testing is a static,black box testing technique for protocol implementations.Beizer proposes that one specify the syntax for the Protocol in a convenient notation such as BNF( Backnus-Naur Form).Mutations are then made to the syntactic elements,and the modified grammar is used to produce aberrant test vectors.

    Beizer suggests using an "Anti-parser" to compile the grammar to produce "Structured gargabe".He also suggests targeting one field of the input at a time at first,and then designing test cases with combinations of input.

    As in other balck box testing technicques sysntax testing does not have a clear stopping criterion.Test Engineers have to use their experience,common sense or time/cost constriants while designing the test suite.

    Thanks,
    Sridevichitthu


  6. #6
    Contributing Member
    Join Date
    Feb 2007
    Answers
    48

    Re: Syntax Testing and LCSAJ Testing

    Hi Sridevi,

    Thanks for putting effort.

    Regards,
    Ganesh


  7. #7
    Junior Member
    Join Date
    Feb 2007
    Answers
    3

    Re: Syntax Testing and LCSAJ Testing

    hi Sridevi,

    Now, I got the point, thanks for helping !!!

    Regards
    --Ashish


  8. #8
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: Syntax Testing and LCSAJ Testing

    Quote Originally Posted by hiashish12 View Post
    Please suggest me
    1) whether the Syntax Testing is White box testing or Black box testing.

    Regards
    --Ashish
    As I know Syntax and semantic errors are caught by developers during compilation or debugging.So, now I am confused, how Syntax Testing can be White box testing or Black box testing ;even, syntax checking is not a testing.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  9. #9
    Junior Member
    Join Date
    Nov 2008
    Answers
    2

    Re: Syntax Testing and LCSAJ Testing

    Hi,
    I think Syntax testing is a part of unit testing.
    So this has to be done by the developer before the release or the build deployed to the QA Environment to further testing.


  10. #10
    Junior Member
    Join Date
    Nov 2008
    Answers
    1

    Re: Syntax Testing and LCSAJ Testing

    Syntax testing is black box testing and LCSAJ testing is Whitebox testing.


  11. #11
    Junior Member
    Join Date
    Sep 2009
    Answers
    1

    Re: Syntax Testing and LCSAJ Testing

    1) syntax testing is a strong black box testing technique. 2) lcsaj stands for liner codes sequence and jump which is a part of white box testing


  12. #12
    Junior Member
    Join Date
    Oct 2009
    Answers
    1

    Re: Syntax Testing and LCSAJ Testing

    thank u ppl..


  13. #13
    Junior Member
    Join Date
    May 2015
    Answers
    1

    Re: Syntax Testing and LCSAJ Testing

    Hello,
    Do you know about any tool to measure LCSAJ coverage?? Please anybody tell me.


  14. #14
    Junior Member
    Join Date
    Mar 2015
    Answers
    2

    Re: Syntax Testing and LCSAJ Testing

    SYNTAX Testing is a Black Box testing.
    Syntax Testing, a black box testing technique, involves testing the System inputs and it is usually automated because syntax testing produces a large number of tests. Internal and external inputs have to conform the below formats:

    Format of the input data from users.

    1 File formats.

    2 Database schema.


    LCSAJ - This stands for Linear Code Sequence and Jump (LCSAJ) coverage. This is actually a neat concept but in today's high paced development environments, very few shops will dedicate the time to do this properly because it takes a lot of time to execute completely (it is typically done in mission critical systems and life threatening environments where the code has to work or someone could actually die). The idea is that when you are testing your application/code, you are actually exercising every deviation that the code should have been setup for. LCSAJ should be a combination of both Unit Level testing (by the developer) and QA Testing which would be covered across the various test phases of Functional, Regression and System/Integration testing. Part of the reason for developer responsibility is because you have to have an intimate understanding of how the code is setup because with this type of testing, the intent is to exercise every aspect of the code. The main coverage areas are:

    Function coverage - Has each function (or subroutine) in the program been called and exercised?
    Statement coverage - Have all the various lines of code in the program been executed?
    Condition/Decision coverage - Have all branching components of all the various decision statements in your code been executed? The code will be full of conditional statements (IF and CASE statements) and looping statements (For loops, Do Loops) and they will all have conditional criteria as to whether they will be entered, how long they will be executed for and the criteria to either exit the code or bypass the code.
    Condition coverage (or predicate coverage) - Exercising all the boolean sub-expressions for both true and false logic.
    Parameter Value Coverage - This involves calling code with parameters along with Functions & Subroutines that have parameters and making sure that all values for such parameter has been exercised.


  15. #15
    Banned
    Join Date
    Mar 2016
    Answers
    17

    Re: Syntax Testing and LCSAJ Testing

    Here is an answer to your query. Please check this link - bit.ly/1QRYUle


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact