Skip to content

douglashiura/picon

Repository files navigation

Picon

Fixture Setup through Object Notation for Implicit Test Fixtures

Dependency Install

<dependency>
    <groupId>com.github.douglashiura</groupId>
    <artifactId>picon</artifactId>
    <version>5.0.2</version>
</dependency>

Usage Example

file.picon

  com.package.User{
      mary[name='Mary Joe']
  }

Class.java

@ExtendWith(PiconRunner.class)
class Class {
  private User mary;
  @Test
  void userNotNull(){
    assertNotNull(mary);
  }
}