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 the library and black-box testing.
  2. Life cycle of running tests
  3. Initial setup for Python
  4. Initial setup for Java and Kotlin
  5. Generating and checking
  6. Different check methods
  7. About different outcomes of testing
  8. Testing Java Swing applications
  9. Testing Java Spring applications