This forum is provided to promote discussion amongst students enrolled in
CITS5501 Software Testing and Quality Assurance.
If posting a question, it's suggested you check first whether your question
is answered in the unit Frequently Asked Questions (FAQ) list, and use the search box
(on the right) to see if an answer to your question has already been posted.
Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
Challenge projects are still being marked, in some cases - but once the marks go into csmarks, any bonus marks for challenge questions will be included.
I'm unsure if csmarks is still displaying distribution graphs can you see them for e.g. the qu...
Hi Arran,
Thank you for releasing the marks. However, I couldn't find the mark for bonus question as it was not submitted in moodle. Could you please let us know how can we get the mark for that?
Also, to know how we performed among all students, could...
Hi all,
Marks and feedback for on-time project submissions should be visible in Moodle.
If you have queries about the project, feel free to email me.
Cheers
Arran
Hi Arran,
Question with the submission, i notice there is a time limit of 40 mins, dose that mean I only have one shot or one opportunity to submit all my answer for the project within 40 minute?
Thanks.
Hi all,
The project submission area is available on Moodle it's labelled "Project final submission".
I hope to also have a Java code test in the testing sandbox, shortly.
Cheers
Aran
Gihad might be using the term "partition" loosely, in the sense of "a partitioning". So a partitioning of some domain X might give us two (or more) partitions.
Hi Arran,
For the updated project spec, should question 8 implement two test cases since question 7 has been changed?
Currently it still says "which contains Te t m t o s w i h i p e e t t e t r e t s a e o e c i e n q e t o .
Thanks.
Ok that does make sense thank you.
Just another question, wouldn't two partitions make sense here (I'm not sure how much detail I am allowed to disclose)?
Thanks, you are correct. Rather than make a further correction, I'll have to rely on people using their judgement to work out which previous question is being referred to.
cheers
Arran
ANONYMOUS wrote
Hi Gihad,
Yes, if we're testing some method (or constructor) myMethod that takes in some reference type MyClass , then we can assume that any instances of MyClass are validly constructed if they aren't, then either there's a bug in the const...
In cases where a class consists of "plain old data" (https en.wikipedia.org wiki Passive data structure) i.e., the class doesn't do any significant abstraction or information hiding then partitioning up a parameter of that class will amoun...
Not OP or Arran but I don't think this kind of partitioning is relevant to testing the LightingCommand constructor specifically. Since the LightingCommand constructor takes Location and LightSource objects as parameters, it is a precondition ...
Hi Arran,
By referring to the updated spec for the project.
I still see the following description.
In question 8
" implement the three test cases you described in question 6"
As per my understanding, it should be something like "Implement the three tes...
Hi Arran,
I've approached this question differently. For ISP I'm applying it to the fields of the objects and not the objects themselves, e.g. Instead of partitioning Location, I'm partitioning the name of Location. Is this ok? Or is that an incorrect...
Hi,
Thanks for the detailed question.
I think your reasoning is valid - it's difficult to come up with many sensible partitions, based on the general principles we've looked at in class. A constructor with a more complex behaviour (e.g. exceptions bein...
Hi Arran,
I share some concerns raised by OP regarding the project specification. The instructions ask us to "apply input space partitioning to the constructor," but they don t clarify what exactly we should test specifically, what we should d...
Hi Allen.
Unfortunately, I can't answer that. It's up to you to apply what we've covered in lectures and labs, make use of the prescribed reading, and demonstrate in the project that you know what you should be testing. If I say exactly what students ...
Hi Arran,
Is your statement above still valid? (since this statement is before the project description update).
I still confuse about the location , as there is no statement in the project description that ask us to assume. The only statement about l...
Hi,
I had a question about the behaviour you would be expected to test for the constructor 'LightingCommand'. This is more of a general question as well for testing constructors. If you're testing a constructor, should you also test that the created ...
Hi all,
I've uploaded a revised project specification (https cits5501.github.io assessment project), incorporating some of the changes people have suggested on the forum many thanks to everyone who posted corrections.
The changes shouldn't have...
It's up to you to use your best judgement in interpreting the spec. At least one of the interpretations you've mentioned, though, sounds like it is flatly contradicted by the project spec, and so shouldn't ever be a consideration. If you can email me...
Hi,
In this section of the specification
"An augmented command contains a normal command (as defined in version 1.7 of the language, in section 4.1), followed by an optional when condition and an optional until condition (in that order)."...
Hi Arran,
Another place is for the question asking to apply ISP to LightingCommand class, was just thinking to mention the preconditions for the constructor of the LightingCommand class, asked in a previous question.
Hi all,
It was pointed out previously prev that the BNF Playground has very low memory limits it can usually parse grammars of at most around a dozen rules before exhausting memory and displaying an error.
The Moodle project testing area doesn't...
Hi all,
The project testing area should be visible on Moodle now it's got spaces where you can try out your answers for questions 1 2 (grammar plus grammar coverage tests), and test the different editor options for the long English answers.
The g...
Hi,
In question 3, you're asked to comment on your answer from question 2, so it makes sense to refer back to your question 2 answer. Since there's one test case per line, you can just refer to "test case 1", "test case 2", etc. And you will also want...
Hi Arran,
Besides the last two questions, could we reference other question's answer assuming that the marker can see them? For example, question 3 asking "why it is that those test cases have production coverage", we can just state like test case X c...
I'll see if I can clarify the spec wording a bit - the intention is that you only need to provide the "augmented" parts. Anything that was already in the original Domolect grammar, you can just refer to in your submitted grammar as if it were alrea...
Hi Callum,
Good questions. In relation to whether optionality requires additional metasymbols, beyond what BNF provides just the vertical bar (" ") is already sufficient to expression optional elements of a language can you see why?
In BNF b...
Hi Arran,
I created a BNF grammar for Q1. Copied it into BNF playground, pressed compile and watched as my browser crashed with a CODE HUNG ERROR .
I have tried to incrementally add productions until I get it to crash to find the issue and it just...
Hi Arran (or anyone else who can clarify)
Regarding Q1 of the project
Just wondering about the statement that the 'when-condition' and 'until-conditions' being optional, and if that requires further language to specify in BNF. I read a few forums and ...
ANONYMOUS wrote
That should be "question 2", yes.
It's a maximum limit - if the question can be adequately answered more briefly, that's fine.
Cheers
Arran
Hi Arran, just checking that for question 3 where it states "Explain the reasoning behind your choice of tests in question 3", should it be "choice of tests in question 2"?
Also, for question like question 3 where it says "max 1000 words". Is a good a...
ANONYMOUS wrote
Hi,
No, you don't. As the project spec says, you can just assume that they are available, and
for testing purposes are considered to have just one production.
If using the BNF playground - which doesn't permit undefined non-terminals - ...
Hi all,
My apologies for the later release than expected there were some delays ensuring the project spec seemed clear and internally consistent but the project spec is now available at
nbsp; https cits5501.github.io assessment project
I'v...