Skip to content

Automated testing: add support for quickly testing a single or multiple practices and lessons #1180

@NathanLovato

Description

@NathanLovato

I implemented an integration test in the tests/ folder to run through the entire app and ensure that the sample solution of practices completes them and also that lessons load and display to help validate that the app is in a working state before releasing.

This issue is about building upon this work and making sure that we can easily test individual practices or lessons in isolation. I want a couple of things there:

  • For one, an API to refer to lessons and practices easily, like l20.p1, and get a reference to the corresponding resource.
  • A piece of user interface in the course builder tool as well to quickly auto-test and validate a practice without having to do the steps manually, that'd use the API above.

This is notably to be able to run tests through the course builder, but also through the command line when iterating over the scripts in an external editor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions