Hey there! Sign in to join this conversationNew here? Join for free
    • Thread Starter
    Offline

    5
    ReputationRep:
    Hi guys

    I am doing computer studies coursework and got told to do A test plan and Validation rules. Have any of you done this before or even know what it is or how to do it.
    Offline

    7
    ReputationRep:
    It would help if we had more information on the task set, so we know what the actual validation rules would be, but you basically have to make sure your program is reliable by entering a series of test data.

    On the basis of validation rules, I am not entirely sure what that means. But I would think it simply means to list a series of rules which your program should follow. For example; 1. The user should only be able to enter a variable using letters. Any other input containing symbols, numbers, or blank spaces should be recognised as invalid.

    For a test plan, you should basically make a table with the following columns; test data; expected outcome; actual outcome; correct/incorrect. In the test data column, you should try and list every possible variable the user could enter. I don't know what you're task is as I completed my gcse last year, but read your task and just note down what possibilities should be seen as 'correct' and therefore allow your program to continue. Do the same for variables which should be seen as 'incorrect'. The more detailed you can be, the better. Even though the user should only be able to enter a variable of a letter, you should still test that this is the case. (You need evidence to prove this to the examiner). So don't forget to test symbols, numbers, even a blank input. If the input has a limit in length, or has to be capitalised or lower case, ensure you test this is the case also.
    Now for the 'expected outcome' column, simply write what your program should do and what the user should see if you input this variable. So if the program should continue and carry out the task, state this and what exactly that task is. If the variable is incorrect, and therefore a message of some sort should pop up showing the user that this is an invalid input, write this. By doing this it allows you to easily compare to the actual outcome, and allows you to identify any errors in your program.
    For the 'actual outcome' column, just state what happens when you enter the test data specified. Don't lie and make out like your program is working correctly if it isn't. Identifying flaws in your code is a massive part in programming and you earn marks by developing and improving your code to get rid of these errors. I would also recommend you use some screenshots of this testing stage, to prove to the examiner that this data is real.
    Finally, in the 'correct/ incorrect' column, simply state whether the program is doing what it should be. Personally, I like to use ticks or crosses in this column. You can copy and paste them from the internet.
    Once your table is complete, try and write a short paragraph as a conclusion to your test data. Talk about what you found, what was working well and what wasn't. Talk about how you aim to improve the program, and how you plan on doing this. If the program wasn't working correctly, try and identify why.


    I'm not sure if you understood all that as I'm not so good at explaining, but if you have any more questions feel free to ask!
    • Thread Starter
    Offline

    5
    ReputationRep:
    For the test plan do you do it for each line that will be outputted, so I am using Python, will I do the test plan according to what is outputted on its shell?
    Offline

    0
    ReputationRep:
    (Original post by jackymang12345)
    For the test plan do you do it for each line that will be outputted, so I am using Python, will I do the test plan according to what is outputted on its shell?
    I've finished my Computing GCSE and ended up with an A* (A* on both coursework tasks also). Private message me your Skype and I'll be glad to help you with whatever you need.
    • Thread Starter
    Offline

    5
    ReputationRep:
    thanks
 
 
 
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • Poll
    Brussels sprouts
    Useful resources

    Study tools

    Rosette

    Essay expert

    Learn to write like a pro with our ultimate essay guide.

    Thinking about uni already?

    Thinking about uni already?

    See where you can apply with our uni match tool

    Student chat

    Ask a question

    Chat to other GCSE students and get your study questions answered.

    Creating

    Make study resources

    Create all the resources you need to get the grades.

    Planner

    Create your own Study Plan

    Organise all your homework and exams so you never miss another deadline.

    Resources by subject

    From flashcards to mind maps; there's everything you need for all of your GCSE subjects.

    Papers

    Find past papers

    100s of GCSE past papers for all your subjects at your fingertips.

    Help out other students

    Can you help? Study help unanswered threads

    Groups associated with this forum:

    View associated groups
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

    Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

    Quick reply
    Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.