Skip to content
Vladimir Turov edited this page Apr 21, 2020 · 53 revisions

hs-test - table of contents

Welcome to the hs-test documentation/tutorial page!

hs-test is a small framework that simplifies testing educational projects for Hyperskill. It is built on top of JUnit.

It is required to use for Hyperskill projects. Main features are:

  • black box testing (only need to know user's main method)
  • multiple types of tests in a simple unified way (without stdin, with stdin, files, swing)
  • generating learner-friendly feedback (filtering stack-traces, hints)

This document is divided into the following sections:

  1. About
  2. Life cycle
  3. Initial setup for Python
  4. Initial setup for Java and Kotlin
  5. Generating and checking
  6. Different check methods
  7. Dynamic testing
  8. Presentation error
  9. Outcomes of testing
  10. Testing Java Swing applications
  11. Testing Java Spring applications