Skip to content

[OA][Fullstack] - Run Tests Hook #252

@LOTaher

Description

@LOTaher

Description

It's time to test out our polling implementation! The goal of this ticket is to connect our Judge0Connector to our frontend using our defined endpoints, and create a hook that we can use on the client side to run tests.

Feel free to call this hook something along the lines of useTestRunner. This hook should return a function that can run all the tests within a task template and the results of all the tests in a state variable so we can easily implement front-end changes for each state a test is in.

This hook will be used when designing and fully implementing our "Run Tests" flow.

When testing, please create a button on the task template editor that can test this feature. Do not commit the button, but send a screenshot or recording of this button being functional and console.logging the proper state of each test (both private and public).

Let @LOTaher know if you have any questions.

Acceptance Criteria

  • Implementation matches requirements above

Metadata

Metadata

Assignees

Labels

FrontendRequires frontend code changes/updatesNext StandupShould be done by next standupOAFor tickets related to the Sarge OA Platform

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions