JunitTestAsJSON

class JunitTestAsJSON[source]

JunitTestAsJSON(type: “t.Literal[‘junit_test’]”, data: ‘JunitTestData’, name: ‘str’, weight: ‘float’, hidden: ‘bool’, id: ‘int’, description: ‘t.Optional[str]’, redacted: ‘t.Literal[False]’)

redacted: Literal[False]

This data will be used if the step is not redacted.

id: int

The id of this step

description: str | None

Description template for this step that is shown to students.

name: str

The name of this step.

weight: float

The amount of weight this step should have.

hidden: bool

Is this step hidden? If true in most cases students will not be able to see this step and its details.

type: Literal['junit_test']

This is a JunitTest step.

data: JunitTestData

The data for the run program step.