Pixie by Tomitribe
  • Docs
  • Annotations
  • References
  • Producers
  • Events
  • Testing
  • Configuration
  • Changelog
  • GitHub
Getting Started
  • Overview
  • Installation
  • Quick Example
Annotations
  • @Param
  • @Default
  • @Component
  • @Nullable
  • @Name
References
  • By Type
  • By Name
  • Collections
  • Generics
Producers
  • Constructor
  • Factory Method
  • Builder Pattern
  • Pre-built Instances
Events
  • Firing Events
  • Observing Events
  • Before & After
  • Built-in Events
Testing
  • Plain Java
  • System.builder()
Configuration
  • Properties Format
  • Builder API
  • Validation
Changelog

    Testing

    Test Pixie components with or without the framework

    Because Pixie uses constructor injection with no proxies and no field injection, every component you write can be tested in plain Java. You can also use System.builder() for integration-style tests that exercise the full wiring. Both approaches are valid and complement each other.

    • Plain Java
      Test components without Pixie using plain constructors
    • System.builder()
      Integration tests using the Pixie System

    Pixie by Tomitribe