Question:
How is Unit Test Case different from system test case when GUI Testing comes into place?
sangeetha v
2007-09-18 03:43:10 UTC
I have developed a GUI using JSP front end. Now I want to write Unit Test Cases and System Test Cases. Can anyone tell me how different will my unit test case and system test case be?
Four answers:
Low Contributor
2007-09-18 04:09:57 UTC
Pie?
Einstein
2007-09-18 05:29:16 UTC
In general the “testing lifecycle” of software is summarized as: unit testing, system or integration testing, and acceptance (functional) testing.



The basic concept of unit testing is write more code which will test the main code we’ve written, by “throwing” sample data at it and examining what it gets back.

There are two approaches to unit testing: black box testing and white box testing.



A Unit Test verifies the behavior of some small part of the overall system. What makes a test a unit test is that the system under test (SUT) is a very small subset of the overall system and may be unrecognizable to someone who is not involved in building the software. The actual SUT may be as small as a single object or method that is a consequence of one or more design decisions although its behavior may also be traced back to some aspect of the functional requirements. There is no need for unit tests to be readable, recognizable or verifiable by the customer or business domain expert. In eXtreme Programming, unit tests are also called developer testsor programmer tests.



System Test usually occurs after the functional verification stage is complete, which is after the core function has been verified. It is intended to find problems with the entire system as a whole. The system test phase occurs near the end of a development life cycle. It is therefore imperative that system test applications are designed to be as efficient as possible in finding code defects. System test usually comprises of three areas. These are:



1. Performance: It involves the process of determining the relevant product statistics. For example: How many messages per second? How many simultaneous users of a service are acceptable?



2. Scenario: It is the process of recreating an exact configuration that a customer requires. Any problems found in the scenario can therefore be detected before the customer uses the product.



3. Stress (or workload balancing): It is different from the other two areas in that it is designed to strain the software by applying a large workload effort. If carried out effectively, by maintaining a highly strenuous usage of the product (but not beyond the limits determined by the performance statistics), stress testing often uncovers many obscure bugs that any of the other techniques mentioned above will not find (it is also often the case that they will be the most difficult to fix).



Arguably the most efficient of the three system test components, in terms of detecting code defects, is the area of stress testing.

_______________-



Functional Verification is a testing process in which designers, who have limited knowledge of the product source code, identify the core functionality of a product or service. Tests are designed to prove this core function conforms to the specification.

_______________-
2016-05-17 16:00:54 UTC
* First of all, the only way you know what your astrology is, is through astrology. Tests, and games don't have the validity that having a birth chart done has. Have you ever had a natal chart? What does it say about you? Do you have Mercury in Cancer? That would make you think like a Cancer. Do you have multiple planets in Cancer or in the 4th house? Is your Sun in the 4th house, or conjunct the Moon, or in the 12th house where you can't see it? There are lots of astrological reasons why you feel like a Cancer but none of them have anything to do with any tests you may take.
geonautika
2007-09-18 04:57:14 UTC
Unit test case is when you test each individual modules; make sure it's logic works as designed. Each developer should be able to unit test his/her own modules independent of other developer. After that then you integrate with others' modules and perform integration test or system test.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...