Skip to content

unit testing of multithread asynchronous code with ceylon.test

License

Notifications You must be signed in to change notification settings

LisiLisenok/asyncTest

Repository files navigation

asyncTest

is an extension to SDK ceylon.test module with following capabilities:

  • testing asynchronous multithread code
  • executing tests concurrently or sequentially
  • value- and type- parameterized testing
  • organizing complex test conditions into a one flexible expression with matchers
  • initialization and disposing with either functions or test rules
  • test execution control with test runners
  • conditional test execution
  • multi-reporting: several failures or successes can be reported for a one particular test execution (test function), each report is represented as test variant and might be marked with String title
  • reporting test results using charts (or plots)
  • benchmarks

The module is available on Ceylon Herd.
Current version is 0.7.1.

Project structure

master branch contains the latest release
develop branch contains the currently developed version

Ceylon compiler / platform

Compiled with Ceylon 1.3.3
Available on JVM only

Dependencies

  • ceylon.collection/1.3.3
  • ceylon.file/1.3.3 shared
  • ceylon.language/1.3.3
  • ceylon.test/1.3.3.1 shared
  • java.base/8 JDK
  • java.management/8 JDK

Usage and documentation

The extension is aimed to be run using Ceylon test tool.
See usage details in API documentation.

Examples