Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add title and description to subtest-response-type #7

Open
KBorm opened this issue May 20, 2019 · 3 comments
Open

add title and description to subtest-response-type #7

KBorm opened this issue May 20, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@KBorm
Copy link

KBorm commented May 20, 2019

In case of a detailed feedback list there should be an option to set a title and a description for each subtest (not only each feedback within a subtest).
Sample:

  • Title = Title of JUNIT test function
  • Description = Description of JUNIT Test function
@upriss
Copy link
Contributor

upriss commented Jun 12, 2019

Maybe there should be some more information about subtests in the whitepaper. Since they are not mentioned in the task-tests element, can they even be used without using grading hints?

@rghsh
Copy link
Contributor

rghsh commented Jun 12, 2019

@upriss: Currently subtest cannot be used without grading hints, I think. It is only a concept for assigning scores (and title, etc.) to individual style checks or test methods or the like.

@KBorm: isn't the title, description and internal-description element inside the xsd's grades-test-ref-child-type what you are looking for?

@KBorm
Copy link
Author

KBorm commented Jun 20, 2019

@rghsh: "Currently subtest cannot be used without grading hints"
But that is what I want to do. I currently use a workaround
"isn't the title, description and internal-description element inside the xsd's grades-test-ref-child-type what you are looking for?"
No, because I do not use the grading-hints for the function level (too much effort to support it in the tools and the grader has the information for free)

Instead of writing for a test function within a Junit test file

<subtest-response id="junit2">
    <test-result>
        <result><score>1.0</score></result>
        <feedback-list>
            <student-feedback level="info">
                <title>**Lagertonnennotregal**</title>
            </student-feedback>
        </feedback-list>
    </test-result>
</subtest-response>

I prefer to write something like that:

<subtest-response id="junit2">
    <title>**Lagertonnennotregal**</title>
    <description>write if there is some description available</description>
    <test-result>
        <result><score>1.0</score></result>
        <feedback-list></feedback-list>
    </test-result>
</subtest-response>    

@KBorm KBorm added the enhancement New feature or request label Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants