-
Notifications
You must be signed in to change notification settings - Fork 10
Creating Hyperskill problems
Vladimir Turov edited this page Feb 9, 2022
·
10 revisions
On Hyperskill, testing with the hs-test
library is used when testing stages of projects. However, it is possible to use this library to write standalone problems for various topics in the knowledge map. The specifics of creating such problems will be described below.
We'll continue from the end of the initial setup page.
There are several key differences between projects on Hyperskill and problems on Hyperskill using the hs-test
library:
- In the projects the initial template is only present in the first stage, while in the problems the initial template is present in every stage. This is because in projects, the user's solution moves from stage to stage, whereas problems can be solved by the user in any order and are actually independent of each other.
- In projects, only tests are hidden and all solution files must be visible to the user. In problems, part of the solution can be hidden and the user will only see a visible part of the solution to make changes in it. For a problem to be able to be solved in the Hyperskill web interface, the problem must have only one visible file (but it may contain more than one visible file, in this case it can be solved only in IDE).
You can create several problems in within a EduTools project.
Examples:
- Home
- About
- Initial setup
- Writing tests
- Guidelines for writing tests
- Outcomes of testing
- Generating and checking
- Presentation error
- Checking JSON
- Testing solutions written in different languages
- Creating Hyperskill problems based on hs-test
- Testing Java Swing applications
- Testing Java Spring applications
- Testing Ktor applications