SirWellington / alchemy-test

Java Unit Test Drugs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatic Data Generation

SirWellington opened this issue · comments

Add the ability to automatically instantiate Fake Data using Alchemy Generator

Example:

public void TestClass
{
  @GenerateString(ALPHABETIC)
  private String username;

  @Before
  public void setUp()
  {
  }
}

Beginning work on this...

The Design will have different @annotations for different data types, rather than having one giant catch-all @Generator tag.

Each tag will begin with "@Generator" however, for examples:

  • @GenerateString
  • @GenerateInteger