Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 492 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 492 Bytes

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 ClassTest {
  private User mary;
  @Test
  void userNotNull(){
    assertNotNull(mary);
  }
}