[Year 12 SofDev] Work for Friday 10/03

Rattan, Kushum L rattan.kushum.l at edumail.vic.gov.au
Fri Mar 10 00:26:51 AEDT 2017


Trace Tables (adapted from the BBC<http://www.bbc.co.uk/education/guides/z8n3d2p/revision/8>)

When testing software, it is sometimes necessary to test a number of conditions and sub-conditions at the same time.

A trace table can be used to record the outcomes of the test.

The trace table for a very simple example, such as x=y+2, would look like this:

y


x


13


15


25


27


1200


1202


Test data

Specifically designed to find weaknesses in code. Test data should act as the ultimate stress test to show up every possible code fault.

Test data should include every conceivable type of input, and focus on data that will most rigorously test the points where errors are most likely to occur. Especially boundary conditions or 'tipping points'.

Test data should also be as brief as possible (except when load testing)

Hint: most logical errors in real life programming, and especially in exam questions, occur on boundaries. Be on the lookout for code with a statement like  IF x < y THEN... because often the error is that < should have been <= .

Comprehensive test data includes invalid inputs to test validation code, valid inputs and inputs that are valid but unusual or unexpected.



Kushum Rattan
ICT Curriculum Area Leader
VET Co-ordinator
Gisborne Secondary College
Phone: 03 54283691
rattan.kushum.l at edumail.vic.gov.au<mailto:rattan.kushum.l at edumail.vic.gov.au>
[gsc banner 2]


IMPORTANT - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Training.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20170309/b3d3ae97/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5696 bytes
Desc: image001.jpg
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20170309/b3d3ae97/image001-0001.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Trace-Tables-Desk-Checks.pptx
Type: application/vnd.openxmlformats-officedocument.presentationml.presentation
Size: 2932544 bytes
Desc: Trace-Tables-Desk-Checks.pptx
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20170309/b3d3ae97/Trace-Tables-Desk-Checks-0001.pptx 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-data.pptx
Type: application/vnd.openxmlformats-officedocument.presentationml.presentation
Size: 1344011 bytes
Desc: test-data.pptx
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20170309/b3d3ae97/test-data-0001.pptx 


More information about the sofdev mailing list